Package org.csstudio.opibuilder.runmode
Class OPIRuntimeDelegate
java.lang.Object
org.csstudio.opibuilder.runmode.OPIRuntimeDelegate
- All Implemented Interfaces:
IAdaptable
The delegate to run an OPI in an editor or view.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
dispose()
Dispose of all resources.protected org.eclipse.gef.ui.actions.ActionRegistry
Lazily creates and returns the action registry.<T> T
getAdapter
(Class<T> adapter) void
init
(IWorkbenchPartSite site, IEditorInput input) void
setEditorInput
(IEditorInput editorInput)
-
Constructor Details
-
OPIRuntimeDelegate
-
-
Method Details
-
init
- Throws:
PartInitException
-
createGUI
-
getOPIFilePath
-
setEditorInput
-
getEditorInput
-
getDisplayModel
-
getActionRegistry
protected org.eclipse.gef.ui.actions.ActionRegistry getActionRegistry()Lazily creates and returns the action registry.- Returns:
- the action registry
-
getAdapter
- Specified by:
getAdapter
in interfaceIAdaptable
-
dispose
public void dispose()Dispose of all resources.
-