Package org.csstudio.opibuilder.runmode
Interface IOPIRuntime
- All Superinterfaces:
IAdaptable
,IWorkbenchPart
The common interface for OPI runtime, which could be an editor or view.
-
Field Summary
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setOPIInput
(IEditorInput input) Set the OPI input.void
setWorkbenchPartName
(String name) Set workbench part name.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
-
Method Details
-
setWorkbenchPartName
Set workbench part name. It calls setPartName() from editor or view to make it public visible.- Parameters:
name
-
-
setOPIInput
Set the OPI input. The OPI Runtime will reload OPI from the input.- Parameters:
input
-- Throws:
PartInitException
-
getOPIInput
IEditorInput getOPIInput()- Returns:
- the OPI input of the runtime.
-
getDisplayModel
DisplayModel getDisplayModel()- Returns:
- the display model in this runtime.
-