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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidinit(IWorkbenchWindow window) booleanvoidrun()voidvoidselectionChanged(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, setToolTipTextMethods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListenerMethods 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:
initin interfaceIWorkbenchWindowActionDelegate
-
isEnabled
public boolean isEnabled() -
selectionChanged
- Specified by:
selectionChangedin interfaceIActionDelegate
-
run
- Specified by:
runin interfaceIActionDelegate
-
run
public void run() -
dispose
public void dispose()- Specified by:
disposein interfaceIWorkbenchWindowActionDelegate
-