13 #ifndef QmitkDataNodeContextMenu_h 
   14 #define QmitkDataNodeContextMenu_h 
   60   void SetSurfaceDecimation(
bool surfaceDecimation);
 
   62   void SetSelectedNodes(
const QList<mitk::DataNode::Pointer>& selectedNodes);
 
   66   void OnContextMenuRequested(
const QPoint& pos);
 
   67   void OnExtensionPointActionTriggered(QAction* action);
 
   71   using DescriptorActionListType = std::vector<std::pair<QmitkNodeDescriptor*, QAction*>>;
 
   72   using ConfigurationElementsType = std::map<QAction*, berry::IConfigurationElement::Pointer>;
 
   74   void InitNodeDescriptors();
 
   75   void InitDefaultActions();
 
   76   void InitExtensionPointActions();
 
   77   void InitServiceActions();
 
   79   void AddColorAction(QWidgetAction* colorAction);
 
   80   void AddDescriptorActionList(DescriptorActionListType& descriptorActionList);
 
   83   QList<QAction*> GetActions(
const QList<mitk::DataNode::Pointer>& nodes);
 
   90   QList<mitk::DataNode::Pointer> m_SelectedNodes;
 
   93   DescriptorActionListType m_DescriptorActionList;
 
   96   ConfigurationElementsType m_ConfigElements;
 
  137   bool m_SurfaceDecimation;