Class BaseAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected MoxelEditor editor
      Editor to apply action for
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onChangeSelectionFormat()  
      void setEditor​(MoxelEditor editor)
      Set up moxel editor
      • 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, run, 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
    • Field Detail

      • editor

        protected MoxelEditor editor
        Editor to apply action for
    • Constructor Detail

      • BaseAction

        public BaseAction()
        Default constructor
      • BaseAction

        public BaseAction​(String text)
        Execute base action
        Parameters:
        text - tooltip text
      • BaseAction

        public BaseAction​(String text,
                          org.eclipse.jface.resource.ImageDescriptor image)
        Creates new instance of BaseAction
        Parameters:
        text - tooltip text
        image - ImageDescriptor