|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.emf.ecp.view.model.presentation.ViewModelWizard
public class ViewModelWizard
This is a simple wizard for creating a new model file.
Field Summary | |
---|---|
static List<String> |
FILE_EXTENSIONS
The supported extensions for created files. |
static String |
FORMATTED_FILE_EXTENSIONS
A formatted list of supported file extensions, suitable for display. |
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
ViewModelWizard()
|
Method Summary | |
---|---|
void |
addPages()
The framework calls this to create the contents of the wizard. |
boolean |
canFinish()
|
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.jface.wizard.IWizardPage |
getStartingPage()
|
static IDEViewModelRegistry |
getViewModelRegistry()
Return the IDEViewModelRegistry . |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
This just records the information. |
boolean |
performFinish()
Do the work after everything is specified. |
void |
setSelectedEcore(org.eclipse.core.resources.IFile selectedEcore)
|
void |
setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
|
void |
setWorkbench(org.eclipse.ui.IWorkbench workbench)
|
Methods inherited from class org.eclipse.jface.wizard.Wizard |
---|
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.wizard.IWizard |
---|
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
Field Detail |
---|
public static final List<String> FILE_EXTENSIONS
public static final String FORMATTED_FILE_EXTENSIONS
Constructor Detail |
---|
public ViewModelWizard()
Method Detail |
---|
public void setSelectedEcore(org.eclipse.core.resources.IFile selectedEcore)
selectedEcore
- the selectedEcore to setpublic void setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
selection
- the selection to setpublic void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public org.eclipse.jface.wizard.IWizardPage getStartingPage()
getStartingPage
in interface org.eclipse.jface.wizard.IWizard
getStartingPage
in class org.eclipse.jface.wizard.Wizard
Wizard.getStartingPage()
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
Wizard.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
Wizard.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 boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public static IDEViewModelRegistry getViewModelRegistry()
IDEViewModelRegistry
.
IDEViewModelRegistry
public void setWorkbench(org.eclipse.ui.IWorkbench workbench)
workbench
- the workbench to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |