public class NewModelWizard extends AbstractBasicModelWizard
Modifier and Type | Field and Description |
---|---|
protected static int |
DESCRIPTION_MINIMUM_WIDTH
Minimum width for description
|
protected TemplateConfigurationPageGroupNavigator |
groupNavigator |
protected static java.lang.String |
SETTINGS_SECTION_NAME |
EXISTING_PAGE_DESCRIPTION, EXISTING_PAGE_NAME, EXISTING_PAGE_TITLE, MAIN_PAGE_DESCRIPTION, MAIN_PAGE_NAME, MAIN_PAGE_TITLE, newModelFromExistingModelPage, newModelFromTemplatePage, newModelMainPage, TEMPLATE_PAGE_DESCRIPTION, TEMPLATE_PAGE_NAME, TEMPLATE_PAGE_TITLE
Constructor and Description |
---|
NewModelWizard() |
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
boolean |
canFinish() |
protected org.eclipse.jface.dialogs.IDialogSettings |
createDialogSettings()
Returns the dialog settings for the wizard.
|
protected NewModelFromExistingModelPage |
createNewModelFromExistingModelPage()
Create and return an instance of NewModelFromExistingModelPage
|
protected NewModelFromTemplatePage |
createNewModelFromTemplatePage()
Create and return an instance of NewModelFromTemplatePage
|
protected INewModelMainPage |
createNewModelMainPage()
Create and return an instance of INewModelMainPage
|
protected org.eclipse.jface.wizard.IWizardPage |
createStartingPage()
Create the first page of this wizard.
|
boolean |
finishPage(org.eclipse.core.runtime.IProgressMonitor monitor)
Subclasses should override to perform the actions of the wizard.
|
org.eclipse.jface.wizard.IWizardPage |
getNextPage(org.eclipse.jface.wizard.IWizardPage page) |
org.eclipse.jface.wizard.IWizardPage |
getPreviousPage(org.eclipse.jface.wizard.IWizardPage page) |
protected java.lang.String |
getSettingsSectionName()
Return the wizard settings section name.
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection) |
protected boolean |
isCreatingFromStandardTemplate() |
protected boolean |
isNewModelMainPageComplete() |
boolean |
performFinish() |
protected boolean |
preFinish() |
getNewModelFromExistingModelPage, getNewModelFromTemplatePage, getNewModelMainPage, initNewModelFromExistingModelPage, initNewModelFromTemplatePage, initNewModelMainPage
getSelection, getWorkbench, initializeDefaultPageImageDescriptor, selectAndReveal, selectAndReveal
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
protected static final java.lang.String SETTINGS_SECTION_NAME
protected static final int DESCRIPTION_MINIMUM_WIDTH
protected TemplateConfigurationPageGroupNavigator groupNavigator
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
protected org.eclipse.jface.wizard.IWizardPage createStartingPage()
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection currentSelection)
init
in interface org.eclipse.ui.IWorkbenchWizard
init
in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
protected java.lang.String getSettingsSectionName()
protected org.eclipse.jface.dialogs.IDialogSettings createDialogSettings()
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
getNextPage
in interface org.eclipse.jface.wizard.IWizard
getNextPage
in class org.eclipse.jface.wizard.Wizard
public org.eclipse.jface.wizard.IWizardPage getPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
getPreviousPage
in interface org.eclipse.jface.wizard.IWizard
getPreviousPage
in class org.eclipse.jface.wizard.Wizard
public boolean canFinish()
canFinish
in interface org.eclipse.jface.wizard.IWizard
canFinish
in class org.eclipse.jface.wizard.Wizard
protected boolean preFinish()
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class AbstractBasicModelWizard
public boolean finishPage(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.InterruptedException, org.eclipse.core.runtime.CoreException
AbstractBasicModelWizard
finishPage
in class AbstractBasicModelWizard
java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
protected boolean isCreatingFromStandardTemplate()
protected boolean isNewModelMainPageComplete()
protected INewModelMainPage createNewModelMainPage()
AbstractBasicModelWizard
createNewModelMainPage
in class AbstractBasicModelWizard
protected NewModelFromExistingModelPage createNewModelFromExistingModelPage()
AbstractBasicModelWizard
createNewModelFromExistingModelPage
in class AbstractBasicModelWizard
protected NewModelFromTemplatePage createNewModelFromTemplatePage()
AbstractBasicModelWizard
createNewModelFromTemplatePage
in class AbstractBasicModelWizard