Interface IOPIRuntime

All Superinterfaces:
IAdaptable, IWorkbenchPart
All Known Implementing Classes:
OPIRunner, OPIShell, OPIView

public interface IOPIRuntime extends IWorkbenchPart, IAdaptable
The common interface for OPI runtime, which could be an editor or view.
  • Method Details

    • setWorkbenchPartName

      void setWorkbenchPartName(String name)
      Set workbench part name. It calls setPartName() from editor or view to make it public visible.
      Parameters:
      name -
    • setOPIInput

      void setOPIInput(IEditorInput input) throws PartInitException
      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.