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
berryIWindowListener.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
18
#ifndef BERRYIWINDOWLISTENER_H_
19
#define BERRYIWINDOWLISTENER_H_
20
21
#include <
org_blueberry_ui_qt_Export.h
>
22
23
#include <
berryMessage.h
>
24
25
#include "
berryIWorkbenchWindow.h
"
26
27
namespace
berry
28
{
29
36
struct
BERRY_UI_QT
IWindowListener
37
{
38
39
struct
Events
{
40
typedef
Message1<const IWorkbenchWindow::Pointer&>
WindowEvent
;
41
42
WindowEvent
windowActivated
;
43
WindowEvent
windowDeactivated
;
44
WindowEvent
windowClosed
;
45
WindowEvent
windowOpened
;
46
47
void
AddListener(
IWindowListener
* listener);
48
void
RemoveListener(
IWindowListener
* listener);
49
50
private
:
51
52
typedef
MessageDelegate1<IWindowListener, const IWorkbenchWindow::Pointer&>
Delegate
;
53
};
54
55
virtual
~
IWindowListener
();
56
66
virtual
void
WindowActivated
(
const
IWorkbenchWindow::Pointer
&
/*window*/
) {}
67
77
virtual
void
WindowDeactivated
(
const
IWorkbenchWindow::Pointer
&
/*window*/
) {}
78
85
virtual
void
WindowClosed
(
const
IWorkbenchWindow::Pointer
&
/*window*/
) {}
86
93
virtual
void
WindowOpened
(
const
IWorkbenchWindow::Pointer
&
/*window*/
) {}
94
95
};
96
97
}
98
99
#endif
/* BERRYIWINDOWLISTENER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IWindowListener::Events::windowDeactivated
WindowEvent windowDeactivated
Definition:
berryIWindowListener.h:43
berry::IWindowListener::Events
Definition:
berryIWindowListener.h:39
berry::IWindowListener::WindowClosed
virtual void WindowClosed(const IWorkbenchWindow::Pointer &)
Definition:
berryIWindowListener.h:85
berryMessage.h
berry::SmartPointer< Self >
org_blueberry_ui_qt_Export.h
berry::IWindowListener::WindowOpened
virtual void WindowOpened(const IWorkbenchWindow::Pointer &)
Definition:
berryIWindowListener.h:93
berry::IWindowListener::Events::windowActivated
WindowEvent windowActivated
Definition:
berryIWindowListener.h:42
berry::IWindowListener::Events::windowOpened
WindowEvent windowOpened
Definition:
berryIWindowListener.h:45
berry::IWindowListener::WindowDeactivated
virtual void WindowDeactivated(const IWorkbenchWindow::Pointer &)
Definition:
berryIWindowListener.h:77
berry::Message1< const IWorkbenchWindow::Pointer & >
berry::IWindowListener
Definition:
berryIWindowListener.h:36
berry::IWindowListener::Events::windowClosed
WindowEvent windowClosed
Definition:
berryIWindowListener.h:44
berry::IWindowListener::WindowActivated
virtual void WindowActivated(const IWorkbenchWindow::Pointer &)
Definition:
berryIWindowListener.h:66
berryIWorkbenchWindow.h
berry::IWindowListener::Events::WindowEvent
Message1< const IWorkbenchWindow::Pointer & > WindowEvent
Definition:
berryIWindowListener.h:40
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
berryIWindowListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1