47 #ifndef _MIRA_WORKBENCHPART_H_ 48 #define _MIRA_WORKBENCHPART_H_ 83 virtual std::list<IWorkbenchPart*>
getEditors(
bool backToFront =
false) = 0;
124 template <
typename Reflector>
virtual ~IWorkbenchPart()
Definition: WorkbenchPart.h:91
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:125
An interface for an adaptable object.
Definition: Adaptable.h:62
virtual void init(IWorkbenchPartSite *site)=0
Is called by the workbench.
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:117
virtual void removePartListener(IPartListener *listener)=0
virtual ~IWorkbenchPartSite()
Definition: WorkbenchPart.h:70
#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:136
Definition: WorkbenchPart.h:88
The primary interface between a workbench part and the workbench.
Definition: WorkbenchPart.h:67
virtual Object * getAdapter(const Class &adapter)
Returns an object which is an instance of the given class associated with this object.
Definition: WorkbenchPart.h:149
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
virtual void deactivate()
Is called by the Workbench to inform the Part that is being deactivated since another Part got the fo...
virtual void activate()
Is called by the Workbench to inform the Part that is being activated by the user.