Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryISelectionChangedListener.h
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef BERRYISELECTIONCHANGEDLISTENER_H_
18
#define BERRYISELECTIONCHANGEDLISTENER_H_
19
20
#include <
org_blueberry_ui_qt_Export.h
>
21
22
#include <
berryMacros.h
>
23
#include <
berryMessage.h
>
24
25
#include "
berrySelectionChangedEvent.h
"
26
27
namespace
berry
28
{
29
30
class
SelectionChangedEvent;
31
41
struct
BERRY_UI_QT
ISelectionChangedListener
42
{
43
44
struct
BERRY_UI_QT
Events
{
45
46
Message1<const SelectionChangedEvent::Pointer&>
selectionChanged
;
47
48
void
AddListener(
ISelectionChangedListener
* listener);
49
void
RemoveListener(
ISelectionChangedListener
* listener);
50
51
private
:
52
53
typedef
MessageDelegate1<ISelectionChangedListener, const SelectionChangedEvent::Pointer&>
Delegate
;
54
};
55
56
virtual
~
ISelectionChangedListener
();
57
63
virtual
void
SelectionChanged(
const
SelectionChangedEvent::Pointer
& event) = 0;
64
};
65
66
}
67
68
#endif
/*BERRYISELECTIONCHANGEDLISTENER_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berryMacros.h
berryMessage.h
berry::SmartPointer< Self >
org_blueberry_ui_qt_Export.h
berry::ISelectionChangedListener::Events
Definition:
berryISelectionChangedListener.h:44
berry::ISelectionChangedListener
Definition:
berryISelectionChangedListener.h:41
berrySelectionChangedEvent.h
berry::Message1
Definition:
berryMessage.h:791
berry::ISelectionChangedListener::Events::selectionChanged
Message1< const SelectionChangedEvent::Pointer & > selectionChanged
Definition:
berryISelectionChangedListener.h:46
berry::MessageDelegate1
Definition:
berryMessage.h:174
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
berryISelectionChangedListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1