Class SmartRegExNewWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.e1c.langtool.ui.editor.regex.wizard.SmartRegExNewWizard
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard,org.eclipse.ui.INewWizard,org.eclipse.ui.IWorkbenchWizard
public class SmartRegExNewWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard
-
Field Summary
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE -
Constructor Summary
ConstructorsConstructorDescriptionSmartRegExNewWizard(ITranslatingProjectManager translatingProjectManager, IStorageSettingsManager storageSettingsManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPages()Adding the page to the wizard.voidinit(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection) We will accept the selection in the workbench to see if we can initialize from it.booleanThis method is called when 'Finish' button is pressed in the wizard.Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
-
Constructor Details
-
SmartRegExNewWizard
@Inject public SmartRegExNewWizard(ITranslatingProjectManager translatingProjectManager, IStorageSettingsManager storageSettingsManager)
-
-
Method Details
-
addPages
public void addPages()Adding the page to the wizard.- Specified by:
addPagesin interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
addPagesin classorg.eclipse.jface.wizard.Wizard
-
performFinish
public boolean performFinish()This method is called when 'Finish' button is pressed in the wizard. We will create an operation and run it using wizard as execution context.- Specified by:
performFinishin interfaceorg.eclipse.jface.wizard.IWizard- Specified by:
performFinishin classorg.eclipse.jface.wizard.Wizard
-
init
We will accept the selection in the workbench to see if we can initialize from it.- Specified by:
initin interfaceorg.eclipse.ui.IWorkbenchWizard- See Also:
-
IWorkbenchWizard.init(IWorkbench, IStructuredSelection)
-