Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::IContextMenuAction Struct Referenceabstract

#include <mitkIContextMenuAction.h>

Public Member Functions

virtual void Run (const QList< mitk::DataNode::Pointer > &selectedNodes)=0
 Executes the action, that linked to the context menu entry. More...
 
virtual void SetDataStorage (mitk::DataStorage *dataStorage)=0
 
virtual void SetSmoothed (bool smoothed)=0
 
virtual void SetDecimated (bool decimated)=0
 
virtual void SetFunctionality (berry::QtViewPart *functionality)=0
 

Detailed Description

A context menu action, which is linked to the context menu
through an extension point. For an example check the
plugin.xml and the connected classes of
the the segmentation bundle and also the QmitkDataManagerView.cpp
in this bundle.

Definition at line 37 of file mitkIContextMenuAction.h.

Member Function Documentation

virtual void mitk::IContextMenuAction::Run ( const QList< mitk::DataNode::Pointer > &  selectedNodes)
pure virtual

Executes the action, that linked to the context menu entry.

Referenced by QmitkDataManagerView::ContextMenuActionTriggered().

virtual void mitk::IContextMenuAction::SetDataStorage ( mitk::DataStorage dataStorage)
pure virtual
virtual void mitk::IContextMenuAction::SetDecimated ( bool  decimated)
pure virtual
virtual void mitk::IContextMenuAction::SetFunctionality ( berry::QtViewPart functionality)
pure virtual
virtual void mitk::IContextMenuAction::SetSmoothed ( bool  smoothed)
pure virtual

The documentation for this struct was generated from the following file: