MIRA
Public Member Functions | List of all members
IWorkbenchPartSite Class Referenceabstract

The primary interface between a workbench part and the workbench. More...

#include <rcp/WorkbenchPart.h>

Inheritance diagram for IWorkbenchPartSite:
Inheritance graph
[legend]

Public Member Functions

virtual ~IWorkbenchPartSite ()
 
virtual void addPartListener (IPartListener *listener)=0
 
virtual void removePartListener (IPartListener *listener)=0
 
virtual IWorkbenchPartgetActiveEditor ()=0
 Returns the currently active editor part, or NULL, if no editor is active. More...
 
virtual std::list< IWorkbenchPart * > getEditors (bool backToFront=false)=0
 Returns a list of all editors of this workbench site. More...
 

Detailed Description

The primary interface between a workbench part and the workbench.

Constructor & Destructor Documentation

◆ ~IWorkbenchPartSite()

virtual ~IWorkbenchPartSite ( )
inlinevirtual

Member Function Documentation

◆ addPartListener()

virtual void addPartListener ( IPartListener listener)
pure virtual

Implemented in Workbench.

◆ removePartListener()

virtual void removePartListener ( IPartListener listener)
pure virtual

Implemented in Workbench.

◆ getActiveEditor()

virtual IWorkbenchPart* getActiveEditor ( )
pure virtual

Returns the currently active editor part, or NULL, if no editor is active.

Implemented in Workbench.

◆ getEditors()

virtual std::list<IWorkbenchPart*> getEditors ( bool  backToFront = false)
pure virtual

Returns a list of all editors of this workbench site.

By default, they are in order of creation. If backToFront=true, they are ordered in their current stack order.

Implemented in Workbench.


The documentation for this class was generated from the following file: