Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.function.contribution.internal
Class ReplaceFunctionWizardAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by eu.esdihumboldt.hale.ui.function.contribution.internal.AbstractWizardAction<SchemaSelectionFunctionContribution>
                  extended by eu.esdihumboldt.hale.ui.function.contribution.internal.ReplaceFunctionWizardAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class ReplaceFunctionWizardAction
extends AbstractWizardAction<SchemaSelectionFunctionContribution>

Action for creating a function wizard based on a SchemaSelection

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.ui.function.contribution.internal.AbstractWizardAction
alignmentService, descriptor, functionContribution
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
ReplaceFunctionWizardAction(SchemaSelectionFunctionContribution functionContribution, Cell originalCell, FunctionWizardDescriptor<?> descriptor, AlignmentService alignmentService)
          Constructor
 
Method Summary
protected  FunctionWizard createWizard()
          Create the function wizard
protected  void handleResult(MutableCell cell)
          Handle the wizard result
 
Methods inherited from class eu.esdihumboldt.hale.ui.function.contribution.internal.AbstractWizardAction
isActive, run, updateState
 
Methods inherited from class org.eclipse.jface.action.Action
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
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
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.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

ReplaceFunctionWizardAction

public ReplaceFunctionWizardAction(SchemaSelectionFunctionContribution functionContribution,
                                   Cell originalCell,
                                   FunctionWizardDescriptor<?> descriptor,
                                   AlignmentService alignmentService)
Constructor

Parameters:
functionContribution - the parent contribution
originalCell - the original cell
descriptor - the function wizard descriptor
alignmentService - the alignment service
Method Detail

createWizard

protected FunctionWizard createWizard()
Description copied from class: AbstractWizardAction
Create the function wizard

Specified by:
createWizard in class AbstractWizardAction<SchemaSelectionFunctionContribution>
Returns:
the function wizard
See Also:
AbstractWizardAction.createWizard()

handleResult

protected void handleResult(MutableCell cell)
Description copied from class: AbstractWizardAction
Handle the wizard result

Specified by:
handleResult in class AbstractWizardAction<SchemaSelectionFunctionContribution>
Parameters:
cell - the result cell
See Also:
AbstractWizardAction.handleResult(MutableCell)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d