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
berryISelectionListener.cpp
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
#include "
berryISelectionListener.h
"
18
19
namespace
berry
{
20
21
void
22
ISelectionListener::Events
23
::AddListener
(
ISelectionListener
* listener)
24
{
25
if
(listener ==
nullptr
)
return
;
26
27
this->selectionChanged +=
Delegate
(listener, &
ISelectionListener::SelectionChanged
);
28
}
29
30
void
31
ISelectionListener::Events
32
::RemoveListener
(
ISelectionListener
* listener)
33
{
34
if
(listener ==
nullptr
)
return
;
35
36
this->selectionChanged -=
Delegate
(listener, &
ISelectionListener::SelectionChanged
);
37
}
38
39
ISelectionListener::~ISelectionListener
()
40
{
41
}
42
43
}
berry::ISelectionListener
Definition:
berryISelectionListener.h:42
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ISelectionListener::Events::AddListener
void AddListener(ISelectionListener *listener)
Definition:
berryISelectionListener.cpp:23
berry::ISelectionListener::SelectionChanged
virtual void SelectionChanged(const IWorkbenchPart::Pointer &part, const ISelection::ConstPointer &selection)=0
berryISelectionListener.h
berry::MessageDelegate2
Definition:
berryMessage.h:220
berry::ISelectionListener::~ISelectionListener
virtual ~ISelectionListener()
Definition:
berryISelectionListener.cpp:39
berry::ISelectionListener::Events::RemoveListener
void RemoveListener(ISelectionListener *listener)
Definition:
berryISelectionListener.cpp:32
git
MITK
Plugins
org.blueberry.ui.qt
src
berryISelectionListener.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1