13 #ifndef QmitkDataNodeContextMenu_h
14 #define QmitkDataNodeContextMenu_h
70 using DescriptorActionListType = std::vector<std::pair<QmitkNodeDescriptor*, QAction*>>;
71 using ConfigurationElementsType = std::map<QAction*, berry::IConfigurationElement::Pointer>;
73 void InitNodeDescriptors();
74 void InitDefaultActions();
75 void InitExtensionPointActions();
76 void InitServiceActions();
78 void AddColorAction(QWidgetAction* colorAction);
79 void AddDescriptorActionList(DescriptorActionListType& descriptorActionList);
82 QList<QAction*> GetActions(
const QList<mitk::DataNode::Pointer>& nodes);
89 QList<mitk::DataNode::Pointer> m_SelectedNodes;
92 DescriptorActionListType m_DescriptorActionList;
95 ConfigurationElementsType m_ConfigElements;
Decorator class for mitk::DataNode.
Implements transparent reference counting.
implements a WeakPointer class to deal with circular reference problems.
Organizes the rendering process.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.