public class NewModelProjectWizard extends NewModelWizard
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
NEW_PROJECT_PAGE_DESCRIPTION |
protected static java.lang.String |
NEW_PROJECT_PAGE_TITLE |
protected static java.lang.String |
NEW_PROJECT_WIZARD_TITLE |
protected static java.lang.String |
REFERENCE_PROJECT_DESCRIPTION |
protected static java.lang.String |
REFERENCE_PROJECT_PAGE_NAME |
protected static java.lang.String |
REFERENCE_PROJECT_PAGE_TITLE |
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage |
referencePage |
DESCRIPTION_MINIMUM_WIDTH, groupNavigator, 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 |
---|
NewModelProjectWizard() |
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
boolean |
canFinish() |
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.ui.dialogs.WizardNewProjectReferencePage |
createProjectReferencePage() |
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) |
org.eclipse.core.runtime.IPath |
getProjectLocationPath() |
java.lang.String |
getProjectName() |
protected org.eclipse.core.resources.IProject[] |
getReferencedProjects() |
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage |
getReferencePage() |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection) |
protected INewModelMainPage |
initNewModelMainPage()
Create and return main page for a new model creation
|
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage |
initProjectReferencePage() |
protected boolean |
preFinish() |
protected void |
setPerspective(java.lang.String perspectiveID)
Sets the default perspective to perspectiveID.
|
createDialogSettings, createStartingPage, getSettingsSectionName, isCreatingFromStandardTemplate, isNewModelMainPageComplete, performFinish
getNewModelFromExistingModelPage, getNewModelFromTemplatePage, getNewModelMainPage, initNewModelFromExistingModelPage, initNewModelFromTemplatePage
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 NEW_PROJECT_WIZARD_TITLE
protected static final java.lang.String NEW_PROJECT_PAGE_TITLE
protected static final java.lang.String NEW_PROJECT_PAGE_DESCRIPTION
protected static final java.lang.String REFERENCE_PROJECT_PAGE_NAME
protected static final java.lang.String REFERENCE_PROJECT_PAGE_TITLE
protected static final java.lang.String REFERENCE_PROJECT_DESCRIPTION
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage referencePage
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection currentSelection)
init
in interface org.eclipse.ui.IWorkbenchWizard
init
in class NewModelWizard
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class NewModelWizard
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
getNextPage
in interface org.eclipse.jface.wizard.IWizard
getNextPage
in class NewModelWizard
public org.eclipse.jface.wizard.IWizardPage getPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
getPreviousPage
in interface org.eclipse.jface.wizard.IWizard
getPreviousPage
in class NewModelWizard
public boolean canFinish()
canFinish
in interface org.eclipse.jface.wizard.IWizard
canFinish
in class NewModelWizard
protected org.eclipse.core.resources.IProject[] getReferencedProjects()
protected boolean preFinish()
preFinish
in class NewModelWizard
public boolean finishPage(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.InterruptedException, org.eclipse.core.runtime.CoreException
AbstractBasicModelWizard
finishPage
in class NewModelWizard
java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
public org.eclipse.core.runtime.IPath getProjectLocationPath()
public java.lang.String getProjectName()
protected INewModelMainPage createNewModelMainPage()
AbstractBasicModelWizard
createNewModelMainPage
in class NewModelWizard
protected INewModelMainPage initNewModelMainPage()
AbstractBasicModelWizard
initNewModelMainPage
in class AbstractBasicModelWizard
protected NewModelFromExistingModelPage createNewModelFromExistingModelPage()
AbstractBasicModelWizard
createNewModelFromExistingModelPage
in class NewModelWizard
protected NewModelFromTemplatePage createNewModelFromTemplatePage()
AbstractBasicModelWizard
createNewModelFromTemplatePage
in class NewModelWizard
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage createProjectReferencePage()
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage initProjectReferencePage()
protected org.eclipse.ui.dialogs.WizardNewProjectReferencePage getReferencePage()
protected void setPerspective(java.lang.String perspectiveID)
perspectiveID
- String with the perspective ID