Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berryISelectionProvider.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef BERRYISELECTIONPROVIDER_H_
14
#define BERRYISELECTIONPROVIDER_H_
15
16
#include <
berryMacros.h
>
17
18
#include "
berryISelectionChangedListener.h
"
19
#include "
berryISelection.h
"
20
21
namespace
berry
22
{
23
33
struct
BERRY_UI_QT
ISelectionProvider
:
public
virtual
Object
34
{
35
36
berryObjectMacro
(
berry::ISelectionProvider
);
37
38
~
ISelectionProvider
()
override
;
39
46
virtual
void
AddSelectionChangedListener(
ISelectionChangedListener
* listener) = 0;
47
53
virtual
ISelection::ConstPointer
GetSelection()
const
= 0;
54
61
virtual
void
RemoveSelectionChangedListener(
62
ISelectionChangedListener
* listener) = 0;
63
69
virtual
void
SetSelection(
const
ISelection::ConstPointer
& selection) = 0;
70
};
71
72
}
73
74
#endif
/*BERRYISELECTIONPROVIDER_H_*/
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berryISelectionChangedListener.h
berry::ISelectionChangedListener
Definition:
berryISelectionChangedListener.h:37
berry::ISelectionProvider
Definition:
berryISelectionProvider.h:33
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berry
Definition:
QmitkPropertyItemModel.h:24
berryISelection.h
src
MITK
Plugins
org.blueberry.ui.qt
src
berryISelectionProvider.h
Generated on Sat Nov 23 2024 02:13:08 for Medical Imaging Interaction Toolkit by
1.8.17