T
- the function typeP
- the field definition typepublic abstract class AbstractGenericFunctionWizard<P extends AbstractParameter,T extends AbstractFunction<P>> extends AbstractFunctionWizard implements TitleImageWizard
Constructor and Description |
---|
AbstractGenericFunctionWizard(Cell cell) |
AbstractGenericFunctionWizard(SchemaSelection selection,
String functionId)
Create a generic function wizard for a certain function based on a schema
selection
|
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
protected abstract EntitiesPage<T,P,?> |
createEntitiesPage(SchemaSelection initSelection,
Cell initCell)
Create the entities page
|
void |
createPageControls(org.eclipse.swt.widgets.Composite pageContainer) |
protected List<ParameterPage> |
createParameterPages(Cell initialCell)
Create the page for configuring the function parameters.
|
void |
dispose() |
abstract T |
getFunction()
Get the function
|
String |
getFunctionId()
Get the function identifier
|
MutableCell |
getResult()
Get the result cell
|
org.eclipse.swt.graphics.Image |
getTitleImage()
Get the title image.
|
Cell |
getUnfinishedCell()
Returns the cell that would be created if the wizard would be finished
now.
|
void |
init()
|
protected void |
init(Cell cell)
Initialize the wizard based on an existing cell.
|
protected void |
init(SchemaSelection selection)
Initialize the wizard based on a schema selection.
|
boolean |
performFinish() |
void |
setContainer(org.eclipse.jface.wizard.IWizardContainer wizardContainer) |
getInitCell, getInitSelection
addPage, canFinish, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFinish, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel
public AbstractGenericFunctionWizard(SchemaSelection selection, String functionId)
selection
- the schema selection, may be null
functionId
- the function identifierpublic AbstractGenericFunctionWizard(Cell cell)
public void init()
AbstractFunctionWizard
init
in interface FunctionWizard
init
in class AbstractFunctionWizard
AbstractFunctionWizard.init()
protected void init(SchemaSelection selection)
AbstractFunctionWizard
init
in class AbstractFunctionWizard
selection
- the schema selection, may be null
AbstractFunctionWizard.init(SchemaSelection)
protected void init(Cell cell)
AbstractFunctionWizard
init
in class AbstractFunctionWizard
cell
- the cellAbstractFunctionWizard.init(Cell)
protected abstract EntitiesPage<T,P,?> createEntitiesPage(SchemaSelection initSelection, Cell initCell)
initSelection
- the initial selection, may be null
initCell
- the initial cell, may be null
protected List<ParameterPage> createParameterPages(Cell initialCell)
initialCell
- the initial cell, may be null
null
public void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
createPageControls
in interface org.eclipse.jface.wizard.IWizard
createPageControls
in class org.eclipse.jface.wizard.Wizard
public void setContainer(org.eclipse.jface.wizard.IWizardContainer wizardContainer)
setContainer
in interface org.eclipse.jface.wizard.IWizard
setContainer
in class org.eclipse.jface.wizard.Wizard
Wizard.setContainer(IWizardContainer)
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
Wizard.addPages()
public MutableCell getResult()
FunctionWizard
getResult
in interface FunctionWizard
FunctionWizard.getResult()
public String getFunctionId()
public abstract T getFunction()
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
Wizard.performFinish()
public Cell getUnfinishedCell()
public org.eclipse.swt.graphics.Image getTitleImage()
TitleImageWizard
getTitleImage
in interface TitleImageWizard
null
TitleImageWizard.getTitleImage()
public void dispose()
dispose
in interface org.eclipse.jface.wizard.IWizard
dispose
in class org.eclipse.jface.wizard.Wizard
Wizard.dispose()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a