|
|||||||||
| 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()
|
void |
clearSelectedContainer()
|
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 |
setSelectedContainer(Object selectedContainer)
|
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 setSelectedContainer(Object selectedContainer)
selectedContainer - the selectedContainer to setpublic void clearSelectedContainer()
public void setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
selection - the selection to set
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
init in interface org.eclipse.ui.IWorkbenchWizardpublic void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic org.eclipse.jface.wizard.IWizardPage getStartingPage()
getStartingPage in interface org.eclipse.jface.wizard.IWizardgetStartingPage in class org.eclipse.jface.wizard.WizardWizard.getStartingPage()public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
getNextPage in interface org.eclipse.jface.wizard.IWizardgetNextPage in class org.eclipse.jface.wizard.WizardWizard.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.IWizardgetPreviousPage in class org.eclipse.jface.wizard.WizardWizard.getPreviousPage(org.eclipse.jface.wizard.IWizardPage)public boolean canFinish()
canFinish in interface org.eclipse.jface.wizard.IWizardcanFinish in class org.eclipse.jface.wizard.WizardWizard.canFinish()public boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizardpublic static IDEViewModelRegistry getViewModelRegistry()
IDEViewModelRegistry.
IDEViewModelRegistrypublic 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 | ||||||||