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
berryWorkbenchWindowAdvisor.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 BERRYWORKBENCHWINDOWADVISOR_H_
18
#define BERRYWORKBENCHWINDOWADVISOR_H_
19
20
#include <
berrySmartPointer.h
>
21
22
#include <
org_blueberry_ui_qt_Export.h
>
23
24
namespace
berry
25
{
26
27
struct
IActionBarConfigurer;
28
struct
IMemento;
29
struct
IWorkbenchWindowConfigurer;
30
31
class
ActionBarAdvisor;
32
class
Shell;
33
69
class
BERRY_UI_QT
WorkbenchWindowAdvisor
70
{
71
72
private
:
73
74
SmartPointer<IWorkbenchWindowConfigurer>
windowConfigurer;
75
76
protected
:
77
83
SmartPointer<IWorkbenchWindowConfigurer>
GetWindowConfigurer();
84
85
public
:
86
93
WorkbenchWindowAdvisor
(
const
SmartPointer<IWorkbenchWindowConfigurer>
& configurer);
94
virtual
~
WorkbenchWindowAdvisor
();
95
109
virtual
void
PreWindowOpen();
110
119
virtual
SmartPointer<ActionBarAdvisor>
CreateActionBarAdvisor(
120
SmartPointer<IActionBarConfigurer>
configurer);
121
138
virtual
void
PostWindowRestore();
139
153
virtual
void
OpenIntro();
154
166
virtual
void
PostWindowCreate();
167
179
virtual
void
PostWindowOpen();
180
201
virtual
bool
PreWindowShellClose();
202
211
virtual
void
PostWindowClose();
212
232
virtual
void
CreateWindowContents(
SmartPointer<Shell>
shell);
233
245
virtual
QWidget* CreateEmptyWindowContents(QWidget* parent);
246
253
virtual
bool
SaveState(
SmartPointer<IMemento>
memento);
254
261
virtual
bool
RestoreState(
SmartPointer<IMemento>
memento);
262
};
263
264
}
265
266
#endif
/*BERRYWORKBENCHWINDOWADVISOR_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
org_blueberry_ui_qt_Export.h
berry::WorkbenchWindowAdvisor
Definition:
berryWorkbenchWindowAdvisor.h:69
berrySmartPointer.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
application
berryWorkbenchWindowAdvisor.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1