Class BaseAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- com._1c.g5.v8.dt.moxel.ui.actions.BaseAction
-
- All Implemented Interfaces:
IMoxelControlAction,ISelectionFormatChangeListener,org.eclipse.jface.action.IAction
- Direct Known Subclasses:
AlignAction,FontPropertyAction
public abstract class BaseAction extends org.eclipse.jface.action.Action implements ISelectionFormatChangeListener, IMoxelControlAction
Basic action
-
-
Field Summary
Fields Modifier and Type Field Description protected MoxelEditoreditorEditor to apply action for
-
Constructor Summary
Constructors Constructor Description BaseAction()Default constructorBaseAction(String text)Execute base actionBaseAction(String text, org.eclipse.jface.resource.ImageDescriptor image)Creates new instance ofBaseAction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonChangeSelectionFormat()voidsetEditor(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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.moxel.ui.actions.IMoxelControlAction
refresh
-
-
-
-
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 ofBaseAction- Parameters:
text- tooltip textimage-ImageDescriptor
-
-
Method Detail
-
setEditor
public void setEditor(MoxelEditor editor)
Description copied from interface:IMoxelControlActionSet up moxel editor- Specified by:
setEditorin interfaceIMoxelControlAction- Parameters:
editor-MoxelEditor
-
onChangeSelectionFormat
public void onChangeSelectionFormat()
- Specified by:
onChangeSelectionFormatin interfaceISelectionFormatChangeListener
-
-