In the old Qt3-based version of MITK, two functionalities could never be opened at the same time so that the methods Activated() and Deactivated() were the right place for the functionalitites to add/remove their interactors, etc. In this case the functionality has to tidy up when changing to another functionality which also wants to change the "default configuration". Some functionalities need to add special interactors, removes the crosshair from the multiwidget, etc. Constructor & Destructor Documentation ◆ QmitkFunctionality() For further reading please have a look at QmitkFunctionality::IsExclusiveFunctionality().ĭefinition at line 70 of file QmitkFunctionality.h. Please use the Activated/Deactivated method to add/remove interactors, disabling multiwidget crosshair or anything which may "affect" other functionalities. Some minor important convenience methods (like changing the mouse cursor/exception handling) Some events for unproblematic inter-View communication (e.g. Methods to send DataNode selections through the SelectionService QmitkFunctionality provides several convenience methods that eases the introduction of a new view:Īccess to the DataStorage (~ the shared data repository)Īccess to and update notification for the functionality/view preferencesĪccess to and update notification for the current DataNode selection / to DataNode selection events send through the SelectionService The base class of all MITK related blueberry views (~ in the old version of MITK, this was called "Functionality") Static Public Member Functions inherited from berry::Object Public Types inherited from berry::Object Protected Attributes inherited from berry::Object PrintTrailer (QDebug os, Indent indent) const PrintHeader (QDebug os, Indent indent) const PrintSelf (QDebug os, Indent indent) const Protected Member Functions inherited from berry::Object SetContentDescription (const QString &description)įirePropert圜hanged (const QString &key, const QString &oldValue, const QString &newValue) SetSite ( IWorkbenchPartSite::Pointer site) Protected Member Functions inherited from berry::WorkbenchPart Protected Member Functions inherited from berry::ViewPartĬheckSite ( IWorkbenchPartSite::Pointer site) override
Protected Member Functions inherited from berry::QtViewPart HandleException (const char *str, QWidget *parent=nullptr, bool showDialog=true) constīlueBerrySelectionChanged (const berry::IWorkbenchPart::Pointer &sourcepart, const berry::ISelection::ConstPointer &selection)ĭataNodeSelectionToVector ( mitk::DataNodeSelection::ConstPointer currentSelection) const HandleException (std::exception &e, QWidget *parent=nullptr, bool showDialog=true) const GetActiveMultiWidget (bool reCreateWidget=true) Public Member Functions inherited from berry::IViewPartīerryObjectMacro ( berry::IViewPart, IWorkbenchPart) SetInitializationData (const SmartPointer &config, const QString &propertyName, const Object::Pointer &data)=0 Public Member Functions inherited from berry::IExecutableExtension RemoveDestroyListener (const MessageAbstractDelegate &delegate) const Public Member Functions inherited from berry::Object Public Member Functions inherited from berry::IWorkbenchPartīerryObjectMacro ( berry::IWorkbenchPart, Object) SetInitializationData (const IConfigurationElement::Pointer &cfig, const QString &propertyName, const Object::Pointer &data) override GetPartProperty (const QString &key) const override SetPartProperty (const QString &key, const QString &value) override RemovePropertyListener ( IPropert圜hangeListener *l) override Public Member Functions inherited from berry::WorkbenchPartīerryObjectMacro ( WorkbenchPart, QObject, IWorkbenchPart, IExecutableExtension)ĪddPropertyListener ( IPropert圜hangeListener *l) override SaveState ( IMemento::Pointer memento) override Init ( IViewSite::Pointer site, IMemento::Pointer memento= IMemento::Pointer(nullptr)) override Public Member Functions inherited from berry::ViewPartīerryObjectMacro ( ViewPart, WorkbenchPart, IViewPart) Public Member Functions inherited from berry::QtViewPart NodeChangedProxy (const mitk::DataNode *node) NodeRemovedProxy (const mitk::DataNode *node) NodeAddedProxy (const mitk::DataNode *node) MultiWidgetClosed ( QmitkAbstractMultiWidget &multiWidget)ĬreatePartControl (QWidget *parent) override MultiWidgetAvailable ( QmitkAbstractMultiWidget &multiWidget) SetHandleMultipleDataStorages (bool multiple) OnPreferencesChanged (const berry::IBerryPreferences *)