T
- the parent contribution typepublic abstract class AbstractWizardAction<T extends AbstractFunctionWizardContribution>
extends org.eclipse.jface.action.Action
Modifier and Type | Field and Description |
---|---|
protected AlignmentService |
alignmentService
The alignment service
|
protected FunctionWizardDescriptor<?> |
descriptor
The function wizard descriptor
|
protected T |
functionContribution
The parent function wizard contribution
|
Constructor and Description |
---|
AbstractWizardAction(T functionContribution,
FunctionWizardDescriptor<?> descriptor,
AlignmentService alignmentService)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected abstract FunctionWizard |
createWizard()
Create the function wizard
|
protected abstract void |
handleResult(MutableCell cell)
Handle the wizard result
|
boolean |
isActive()
Get if the wizard action shall be currently active
|
void |
run() |
protected void |
updateState()
Update the action state
|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
protected final T extends AbstractFunctionWizardContribution functionContribution
protected final AlignmentService alignmentService
protected final FunctionWizardDescriptor<?> descriptor
public AbstractWizardAction(T functionContribution, FunctionWizardDescriptor<?> descriptor, AlignmentService alignmentService)
functionContribution
- the parent contributiondescriptor
- the function wizard descriptoralignmentService
- the alignment servicepublic void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
Action.run()
protected abstract void handleResult(MutableCell cell)
cell
- the result cellprotected abstract FunctionWizard createWizard()
protected void updateState()
public boolean isActive()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a