Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryIWorkbenchListener.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
14
#ifndef BERRYIWORKBENCHLISTENER_H_
15
#define BERRYIWORKBENCHLISTENER_H_
16
17
#include <
org_blueberry_ui_qt_Export.h
>
18
19
#include "
berryMessage.h
"
20
21
namespace
berry
22
{
23
24
struct
IWorkbench;
25
35
struct
BERRY_UI_QT
IWorkbenchListener
36
{
37
38
struct
Events
{
39
typedef
Message2<IWorkbench*, bool, bool>
PreShutdownEvent
;
40
typedef
Message1<IWorkbench*>
PostShutdownEvent
;
41
42
PreShutdownEvent
preShutdown
;
43
PostShutdownEvent
postShutdown
;
44
45
void
AddListener(
IWorkbenchListener
* listener);
46
void
RemoveListener(
IWorkbenchListener
* listener);
47
48
private
:
49
50
typedef
MessageDelegate2<IWorkbenchListener, IWorkbench*, bool, bool>
Delegate2
;
51
typedef
MessageDelegate1<IWorkbenchListener, IWorkbench*>
Delegate1
;
52
};
53
54
virtual
~
IWorkbenchListener
();
55
75
virtual
bool
PreShutdown
(
IWorkbench
*
/*workbench*/
,
bool
/*forced*/
) {
return
true
; }
76
84
virtual
void
PostShutdown
(
IWorkbench
*
/*workbench*/
) {}
85
86
};
87
88
}
89
90
#endif
/* BERRYIWORKBENCHLISTENER_H_ */
berry::IWorkbenchListener::PreShutdown
virtual bool PreShutdown(IWorkbench *, bool)
Definition:
berryIWorkbenchListener.h:75
org_blueberry_ui_qt_Export.h
berry::IWorkbenchListener::PostShutdown
virtual void PostShutdown(IWorkbench *)
Definition:
berryIWorkbenchListener.h:84
berryMessage.h
berry::Message1< IWorkbench * >
berry::IWorkbenchListener::Events::postShutdown
PostShutdownEvent postShutdown
Definition:
berryIWorkbenchListener.h:43
berry::MessageDelegate1
Definition:
berryMessage.h:170
berry::IWorkbenchListener::Events::PostShutdownEvent
Message1< IWorkbench * > PostShutdownEvent
Definition:
berryIWorkbenchListener.h:40
berry::Message2< IWorkbench *, bool, bool >
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::IWorkbenchListener::Events::PreShutdownEvent
Message2< IWorkbench *, bool, bool > PreShutdownEvent
Definition:
berryIWorkbenchListener.h:39
berry::MessageDelegate2
Definition:
berryMessage.h:216
berry::IWorkbenchListener
Definition:
berryIWorkbenchListener.h:35
berry::IWorkbenchListener::Events::preShutdown
PreShutdownEvent preShutdown
Definition:
berryIWorkbenchListener.h:42
berry::IWorkbenchListener::Events
Definition:
berryIWorkbenchListener.h:38
berry::IWorkbench
Definition:
berryIWorkbench.h:80
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
berryIWorkbenchListener.h
Generated on Sun Mar 16 2025 02:13:37 for Medical Imaging Interaction Toolkit by
1.8.17