Class SaveImageAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.graphiti.ui.internal.action.SaveImageAction
-
- All Implemented Interfaces:
org.eclipse.jface.action.IAction
public class SaveImageAction extends org.eclipse.jface.action.Action
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_DEFINITION_ID
static java.lang.String
ACTION_ID
static java.lang.String
TEXT
static java.lang.String
TOOL_TIP
-
Constructor Summary
Constructors Constructor Description SaveImageAction(IDiagramBehavior diagramBehavior, IConfigurationProvider configurationProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
void
run()
-
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, 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
-
-
-
-
Field Detail
-
TOOL_TIP
public static final java.lang.String TOOL_TIP
-
TEXT
public static final java.lang.String TEXT
-
ACTION_ID
public static final java.lang.String ACTION_ID
- See Also:
- Constant Field Values
-
ACTION_DEFINITION_ID
public static final java.lang.String ACTION_DEFINITION_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SaveImageAction
public SaveImageAction(IDiagramBehavior diagramBehavior, IConfigurationProvider configurationProvider)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceorg.eclipse.jface.action.IAction
- Overrides:
isEnabled
in classorg.eclipse.jface.action.Action
-
run
public void run()
- Specified by:
run
in interfaceorg.eclipse.jface.action.IAction
- Overrides:
run
in classorg.eclipse.jface.action.Action
-
-