13 #ifndef QmitkDataNodeContextMenu_h
14 #define QmitkDataNodeContextMenu_h
72 using DescriptorActionListType = std::vector<std::pair<QmitkNodeDescriptor*, QAction*>>;
73 using ConfigurationElementsType = std::map<QAction*, berry::IConfigurationElement::Pointer>;
75 void InitNodeDescriptors();
76 void InitDefaultActions();
77 void InitExtensionPointActions();
78 void InitServiceActions();
80 void AddColorAction(QWidgetAction* colorAction);
81 void AddDescriptorActionList(DescriptorActionListType& descriptorActionList);
84 QList<QAction*> GetActions(
const QList<mitk::DataNode::Pointer>& nodes);
91 QList<mitk::DataNode::Pointer> m_SelectedNodes;
94 DescriptorActionListType m_DescriptorActionList;
97 ConfigurationElementsType m_ConfigElements;
140 bool m_SurfaceDecimation;
Decorator class for mitk::DataNode.
Implements transparent reference counting.
implements a WeakPointer class to deal with circular reference problems.
Class for nodes of the DataTree.
Data management class that handles 'was created by' relations.