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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispose()Dispose of all resources.protected org.eclipse.gef.ui.actions.ActionRegistryLazily creates and returns the action registry.<T> TgetAdapter(Class<T> adapter) voidinit(IWorkbenchPartSite site, IEditorInput input) voidsetEditorInput(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:
getAdapterin interfaceIAdaptable
-
dispose
public void dispose()Dispose of all resources.
-