public class WorkspaceNewModelStorageProvider
extends java.lang.Object
Constructor and Description |
---|
WorkspaceNewModelStorageProvider()
Instantiates a new workspace new model storage provider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(org.eclipse.jface.viewers.IStructuredSelection initialSelection)
Checks if the WorkspaceNewModelStorageProvider can handle the structured selection in input
|
org.eclipse.ui.IEditorInput |
createEditorInput(org.eclipse.emf.common.util.URI uri)
Creates the editor input.
|
org.eclipse.emf.common.util.URI |
createNewModelURI(java.lang.String categoryId)
Creates the new model URI
|
java.util.List<? extends org.eclipse.jface.wizard.IWizardPage> |
createPages()
Creates the wizard pages.
|
void |
init(CreateCHESSModelWizard wizard,
org.eclipse.jface.viewers.IStructuredSelection selection)
Initializes the wizard.
|
org.eclipse.core.runtime.IStatus |
validateDiagramCategories(java.lang.String... newCategories)
Validates the diagram categories.
|
public WorkspaceNewModelStorageProvider()
public boolean canHandle(org.eclipse.jface.viewers.IStructuredSelection initialSelection)
initialSelection
- the initial structured selectionpublic void init(CreateCHESSModelWizard wizard, org.eclipse.jface.viewers.IStructuredSelection selection)
wizard
- the wizardselection
- the selectionpublic java.util.List<? extends org.eclipse.jface.wizard.IWizardPage> createPages()
public org.eclipse.core.runtime.IStatus validateDiagramCategories(java.lang.String... newCategories)
newCategories
- the new categoriespublic org.eclipse.emf.common.util.URI createNewModelURI(java.lang.String categoryId)
categoryId
- the category idpublic org.eclipse.ui.IEditorInput createEditorInput(org.eclipse.emf.common.util.URI uri)
uri
- the URI