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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berrySelectionChangedEvent.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 "
berrySelectionChangedEvent.h
"
18
#include "
berryISelectionProvider.h
"
19
20
21
namespace
berry
22
{
23
24
SelectionChangedEvent::SelectionChangedEvent
(
25
ISelectionProvider::Pointer
source,
ISelection::ConstPointer
selection)
26
{
27
poco_assert(source.
IsNotNull
());
28
poco_assert(selection.
IsNotNull
());
29
30
this->source = source;
31
this->selection =
selection
;
32
}
33
34
ISelectionProvider::Pointer
SelectionChangedEvent::GetSource
()
const
35
{
36
return
source;
37
}
38
39
ISelection::ConstPointer
SelectionChangedEvent::GetSelection
()
const
40
{
41
return
selection
;
42
}
43
44
ISelectionProvider::Pointer
SelectionChangedEvent::GetSelectionProvider
()
const
45
{
46
return
this->
GetSource
();
47
}
48
49
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::SelectionChangedEvent::GetSelection
ISelection::ConstPointer GetSelection() const
Definition:
berrySelectionChangedEvent.cpp:39
berry::SelectionChangedEvent::GetSource
SmartPointer< ISelectionProvider > GetSource() const
Definition:
berrySelectionChangedEvent.cpp:34
berry::SmartPointer< Self >
berryISelectionProvider.h
berry::SelectionChangedEvent::GetSelectionProvider
SmartPointer< ISelectionProvider > GetSelectionProvider() const
Definition:
berrySelectionChangedEvent.cpp:44
berry::SmartPointer::IsNotNull
bool IsNotNull() const
Definition:
berrySmartPointer.h:140
berrySelectionChangedEvent.h
berry::SelectionChangedEvent::SelectionChangedEvent
SelectionChangedEvent(SmartPointer< ISelectionProvider > source, ISelection::ConstPointer selection)
Definition:
berrySelectionChangedEvent.cpp:24
berry::SelectionChangedEvent::selection
ISelection::ConstPointer selection
Definition:
berrySelectionChangedEvent.h:73
git
MITK
Plugins
org.blueberry.ui.qt
src
berrySelectionChangedEvent.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1