Class OPIView

All Implemented Interfaces:
IOPIRuntime, IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPart3, IWorkbenchPartOrientation

public class OPIView extends ViewPart implements IOPIRuntime
RCP 'View' for display runtime

Similar to an RCP editor it is associated to an 'input', but provides only a view to that *.opi, executing its content.

Being a 'View' allows save/restore within a 'Perspective'.

RCP distinguishes instances via their secondary view ID. Each instances has a memento for storing arbitrary data, which we use for the 'input' (*.opi path and macros).

Secondary view IDs must be unique, they can't simply increment from "1" each time CSS is started because then a view with a previously used secondary ID will show the old content.

RCP only triggers saveState for views that are currently visible, typically on exit. This view will write the memento info directly to the underlying E4 model whenever the input changes.