Package org.csstudio.opibuilder.actions
Class RunOPIAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.csstudio.opibuilder.actions.RunOPIAction
- All Implemented Interfaces:
IAction
,IActionDelegate
,IWorkbenchWindowActionDelegate
Action to launch OPI runtime from editor.
Maintains a workbench window to allow testing displays in their own top-level workbench, separate from the one that holds the editor.
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
init
(IWorkbenchWindow window) boolean
void
run()
void
void
selectionChanged
(IAction action, ISelection selection) 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
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Field Details
-
ID
-
ACTION_DEFINITION_ID
-
-
Constructor Details
-
RunOPIAction
public RunOPIAction()
-
-
Method Details
-
init
- Specified by:
init
in interfaceIWorkbenchWindowActionDelegate
-
isEnabled
public boolean isEnabled() -
selectionChanged
- Specified by:
selectionChanged
in interfaceIActionDelegate
-
run
- Specified by:
run
in interfaceIActionDelegate
-
run
public void run() -
dispose
public void dispose()- Specified by:
dispose
in interfaceIWorkbenchWindowActionDelegate
-