Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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 31 of file mitkIContextMenuAction.h.

Member Function Documentation

◆ Run()

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

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

◆ SetDataStorage()

virtual void mitk::IContextMenuAction::SetDataStorage ( mitk::DataStorage dataStorage)
pure virtual

◆ SetDecimated()

virtual void mitk::IContextMenuAction::SetDecimated ( bool  decimated)
pure virtual

◆ SetFunctionality()

virtual void mitk::IContextMenuAction::SetFunctionality ( berry::QtViewPart functionality)
pure virtual

◆ SetSmoothed()

virtual void mitk::IContextMenuAction::SetSmoothed ( bool  smoothed)
pure virtual

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