public class CreateCHESSModelWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NEW_MODEL_SETTINGS
The Constant NEW_MODEL_SETTINGS.
|
static java.lang.String |
WIZARD_ID
The Constant WIZARD_ID.
|
Constructor and Description |
---|
CreateCHESSModelWizard()
Creates a new chess model wizard.
|
Modifier and Type | Method and Description |
---|---|
void |
addPages()
Adds pages to the wizard
|
boolean |
canFinish()
Checks if the wizard creation can be finished successfully.
|
org.eclipse.core.runtime.IStatus |
diagramCategoryChanged(java.lang.String... newCategories)
Updates the diagram category.
|
java.lang.String |
getDiagramFileExtension(java.lang.String diagramCategoryId)
Gets the diagram file extension.
|
java.lang.String |
getDiagramFileExtension(java.lang.String categoryId,
java.lang.String defaultExtension)
Gets the diagram file extension.
|
java.lang.String |
getModelKindName()
Gets the kind of the model as a string.
|
org.eclipse.jface.wizard.IWizardPage |
getNextPage(org.eclipse.jface.wizard.IWizardPage page)
Gets the next page of the wizards, i.e the page that follows the given page
|
org.eclipse.jface.wizard.IWizardPage |
getPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
Gets the previous page of the wizards, i.e the page that precedes the given page
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection) |
boolean |
isCreateMultipleModelsWizard()
Checks if is the wizard creates multiple models.
|
boolean |
isCreateProjectWizard()
Checks if is the wizard creates the project.
|
boolean |
isInitModelWizard()
Checks if is the wizard initializes the model.
|
boolean |
performFinish() |
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
public static final java.lang.String WIZARD_ID
public static final java.lang.String NEW_MODEL_SETTINGS
public CreateCHESSModelWizard()
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
Wizard.addPages()
public boolean isInitModelWizard()
public boolean isCreateProjectWizard()
public boolean isCreateMultipleModelsWizard()
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
IWorkbenchWizard.init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
Wizard.performFinish()
public java.lang.String getDiagramFileExtension(java.lang.String diagramCategoryId)
diagramCategoryId
- the diagram category idpublic java.lang.String getDiagramFileExtension(java.lang.String categoryId, java.lang.String defaultExtension)
categoryId
- the category iddefaultExtension
- the default extensionpublic org.eclipse.core.runtime.IStatus diagramCategoryChanged(java.lang.String... newCategories)
newCategories
- the new categoriespublic 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
the
- given pageWizard.getNextPage(org.eclipse.jface.wizard.IWizardPage)
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
the
- given pageWizard.getPreviousPage(org.eclipse.jface.wizard.IWizardPage)
public boolean canFinish()
canFinish
in interface org.eclipse.jface.wizard.IWizard
canFinish
in class org.eclipse.jface.wizard.Wizard
Wizard.canFinish()
public java.lang.String getModelKindName()