QmitkNodeDescriptorManager manages a set of QmitkNodeDescriptors.
More...
#include <QmitkNodeDescriptorManager.h>
QmitkNodeDescriptorManager manages a set of QmitkNodeDescriptors.
- See also
- QmitkNodeDescriptor
Definition at line 26 of file QmitkNodeDescriptorManager.h.
◆ ~QmitkNodeDescriptorManager()
QmitkNodeDescriptorManager::~QmitkNodeDescriptorManager |
( |
| ) |
|
|
override |
Deletes all Descriptors in the list
◆ QmitkNodeDescriptorManager()
QmitkNodeDescriptorManager::QmitkNodeDescriptorManager |
( |
| ) |
|
|
protected |
Creates the m_UnknownDataNodeDescriptor Calls Initialize
◆ AddDescriptor()
Adds a new descriptor to the manager. The manager takes the ownership.
◆ GetActions() [1/2]
QList<QAction*> QmitkNodeDescriptorManager::GetActions |
( |
const mitk::DataNode * |
node | ) |
const |
Returns a list of all actions that are associated with the given node. If there are more than one Descriptors for this node all actions will be merged together. E.g. all actions from the "unknown" DataNodes will be added to this list. Generic Actions like Save, Load, etc. are stored there.
◆ GetActions() [2/2]
- Returns
- a list of actions associated with the given nodes
◆ GetDescriptor() [1/2]
Get the last descriptor in the descriptors list that matches the given node. Attention: More specialized Descriptors should therefore be appended at the end of the list, e.g. first add "Image", then add "Image Mask"
- Returns
- a QmitkNodeDescriptor for the given node or a QmitkNodeDescriptor describing unknown nodes (never 0)
- See also
- AddDescriptor()
◆ GetDescriptor() [2/2]
QmitkNodeDescriptor* QmitkNodeDescriptorManager::GetDescriptor |
( |
const QString & |
className | ) |
const |
◆ GetInstance()
◆ GetUnknownDataNodeDescriptor()
- Returns
- The UnknownDataNodeDescriptor, which is the default Descriptor for all Nodes.
◆ Initialize()
virtual void QmitkNodeDescriptorManager::Initialize |
( |
| ) |
|
|
virtual |
◆ RemoveDescriptor()
Removes and deletes a descriptor from the manager
◆ m_NodeDescriptors
◆ m_UnknownDataNodeDescriptor
The documentation for this class was generated from the following file: