|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.wizard.Wizard
eu.esdihumboldt.hale.ui.function.AbstractFunctionWizard
eu.esdihumboldt.hale.ui.function.generic.AbstractGenericFunctionWizard<P,T>
T
- the function typeP
- the field definition typepublic abstract class AbstractGenericFunctionWizard<P extends AbstractParameter,T extends AbstractFunction<P>>
Generic function wizard
Field Summary |
---|
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
AbstractGenericFunctionWizard(Cell cell)
|
|
AbstractGenericFunctionWizard(SchemaSelection selection,
String functionId)
Create a generic function wizard for a certain function based on a schema selection |
Method Summary | |
---|---|
void |
addPages()
|
protected abstract EntitiesPage<T,P,?> |
createEntitiesPage(SchemaSelection initSelection,
Cell initCell)
Create the entities page |
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()
Calls AbstractFunctionWizard.init(Cell) or AbstractFunctionWizard.init(SchemaSelection) |
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()
|
Methods inherited from class eu.esdihumboldt.hale.ui.function.AbstractFunctionWizard |
---|
getInitCell, getInitSelection |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
---|
addPage, canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.wizard.IWizard |
---|
canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
Constructor Detail |
---|
public AbstractGenericFunctionWizard(SchemaSelection selection, String functionId)
selection
- the schema selection, may be null
functionId
- the function identifierpublic AbstractGenericFunctionWizard(Cell cell)
AbstractFunctionWizard.AbstractFunctionWizard(Cell)
Method Detail |
---|
public void init()
AbstractFunctionWizard
AbstractFunctionWizard.init(Cell)
or AbstractFunctionWizard.init(SchemaSelection)
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 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()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |