47 #ifndef _MIRA_WORKBENCHPART_H_ 48 #define _MIRA_WORKBENCHPART_H_ 84 virtual std::list<IWorkbenchPart*>
getEditors(
bool backToFront =
false) = 0;
125 template <
typename Reflector>
133 virtual void activate();
134 virtual void deactivate();
virtual ~IWorkbenchPart()
Definition: WorkbenchPart.h:92
virtual void activate()=0
Is called by the Workbench to inform the Part that is being activated by the user.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
void reflect(Reflector &r)
Definition: WorkbenchPart.h:126
An interface for an adaptable object.
Definition: Adaptable.h:62
Class object which supports some kind of class reflection.
Definition: Class.h:97
virtual std::list< IWorkbenchPart * > getEditors(bool backToFront=false)=0
Returns a list of all editors of this workbench site.
A workbench part is a component within the workbench.
Definition: WorkbenchPart.h:118
virtual void removePartListener(IPartListener *listener)=0
virtual ~IWorkbenchPartSite()
Definition: WorkbenchPart.h:71
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
Use this MACRO instead of MIRA_OBJECT to declare the class as abstract.
Definition: FactoryMacros.h:235
$Header file containing base classes to enable class creation using a class factory$ ...
Definition: PartListener.h:56
The object class acts as a generic base class for classes which should be used with the classFactory...
Definition: Object.h:144
bool isActivated() const
Returns true if this ViewPart currently has the focus and hence the users attention.
Definition: WorkbenchPart.h:137
Definition: WorkbenchPart.h:89
Gui export macro declaration.
The primary interface between a workbench part and the workbench.
Definition: WorkbenchPart.h:68
virtual Object * getAdapter(const Class &adapter)
Returns an object which is an instance of the given class associated with this object.
Definition: WorkbenchPart.h:150
#define MIRA_GUI_RCP_EXPORT
Definition: GuiRCPExports.h:61
virtual IWorkbenchPart * getActiveEditor()=0
Returns the currently active editor part, or NULL, if no editor is active.
Declaration of the IAdaptable interface.
virtual void deactivate()=0
Is called by the Workbench to inform the Part that is being deactivated since another Part got the fo...
virtual void addPartListener(IPartListener *listener)=0