15 #ifndef niftkBaseSegmentorView_h
16 #define niftkBaseSegmentorView_h
18 #include <uk_ac_ucl_cmic_commonmidas_Export.h>
21 #include <service/event/ctkEventHandler.h>
22 #include <service/event/ctkEventAdmin.h>
25 #include <berryIWorkbenchPart.h>
32 class IBerryPreferences;
38 class BaseSegmentorController;
72 void InteractorRequest(
const ctkDictionary&);
77 virtual void Activated()
override;
80 virtual void Deactivated()
override;
83 virtual void Visible()
override;
86 virtual void Hidden()
override;
89 virtual void CreateQtPartControl(QWidget* parent)
override;
95 virtual void OnSelectionChanged(berry::IWorkbenchPart::Pointer part,
const QList<mitk::DataNode::Pointer>& nodes)
override;
98 virtual void OnPreferencesChanged(
const berry::IBerryPreferences*)
override;
101 virtual void RetrievePreferenceValues();
104 virtual QString GetPreferencesNodeName() = 0;
Definition: niftkBaseSegmentorView.h:30
static const QString DEFAULT_COLOUR
Stores the preference name of the default outline colour (defaults to pure green).
Definition: niftkBaseSegmentorView.h:60
Base view component for MIDAS Segmentation widgets.
Definition: niftkBaseSegmentorView.h:46
Base view component for plugins listening to visibility change events, focus changed events and so on...
Definition: niftkBaseView.h:47
Definition: niftkBaseSegmentorController.h:39
static const QString DEFAULT_COLOUR_STYLE_SHEET
Stores the preference name of the default outline colour style sheet (defaults to pure green)...
Definition: niftkBaseSegmentorView.h:65
Definition: niftkExceptionObject.h:21