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
berryIWorkbench.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 BERRYIWORKBENCH_H_
18
#define BERRYIWORKBENCH_H_
19
20
#include <
berryMacros.h
>
21
22
#include "
services/berryIServiceLocator.h
"
23
#include "
berryIViewRegistry.h
"
24
#include "
berryIEditorRegistry.h
"
25
#include "
intro/berryIIntroManager.h
"
26
#include "
berryIPerspectiveRegistry.h
"
27
#include "
berryIWorkbenchWindow.h
"
28
#include "
berryIWorkbenchListener.h
"
29
#include "
berryIWindowListener.h
"
30
#include "
berryDisplay.h
"
31
32
namespace
berry
{
33
34
struct
IElementFactory;
35
struct
IExtensionTracker;
36
struct
IWorkbenchPage;
37
86
struct
BERRY_UI_QT
IWorkbench
:
public
IServiceLocator
{
87
88
berryObjectMacro
(
berry::IWorkbench
)
89
90
virtual
~
IWorkbench
();
91
102
virtual
Display
* GetDisplay()
const
= 0;
103
111
virtual
void
AddWorkbenchListener(
IWorkbenchListener
* listener) = 0;
112
120
virtual
void
RemoveWorkbenchListener(
IWorkbenchListener
* listener) = 0;
121
125
virtual
IWorkbenchListener::Events
& GetWorkbenchEvents() = 0;
126
134
virtual
void
AddWindowListener(
IWindowListener
* listener) = 0;
135
143
virtual
void
RemoveWindowListener(
IWindowListener
* listener) = 0;
144
149
virtual
IWindowListener::Events
& GetWindowEvents() = 0;
150
161
virtual
bool
Close() = 0;
162
171
virtual
IWorkbenchWindow::Pointer
GetActiveWorkbenchWindow()
const
= 0;
172
186
virtual
IExtensionTracker
* GetExtensionTracker()
const
= 0;
187
193
virtual
IPerspectiveRegistry
* GetPerspectiveRegistry()
const
= 0;
194
201
virtual
IViewRegistry
* GetViewRegistry()
const
= 0;
202
208
virtual
IEditorRegistry
* GetEditorRegistry()
const
= 0;
209
218
virtual
std::size_t GetWorkbenchWindowCount()
const
= 0;
219
227
virtual
QList<IWorkbenchWindow::Pointer> GetWorkbenchWindows()
const
= 0;
228
260
virtual
IWorkbenchWindow::Pointer
OpenWorkbenchWindow(
const
QString& perspectiveId,
261
IAdaptable
* input) = 0;
262
285
virtual
IWorkbenchWindow::Pointer
OpenWorkbenchWindow(
IAdaptable
* input) = 0;
286
326
virtual
SmartPointer<IWorkbenchPage>
ShowPerspective(
const
QString& perspectiveId,
327
IWorkbenchWindow::Pointer
window) = 0;
328
372
virtual
SmartPointer<IWorkbenchPage>
ShowPerspective(
const
QString& perspectiveId,
373
IWorkbenchWindow::Pointer
window,
IAdaptable
* input) = 0;
374
387
virtual
bool
SaveAllEditors(
bool
confirm) = 0;
388
398
virtual
IElementFactory
* GetElementFactory(
const
QString& factoryId)
const
= 0;
399
406
virtual
IIntroManager
* GetIntroManager()
const
= 0;
407
416
virtual
bool
IsClosing()
const
= 0;
417
421
virtual
void
UpdateTheme() = 0;
422
423
};
424
425
}
426
427
#endif
/*BERRYIWORKBENCH_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IAdaptable
Definition:
berryIAdaptable.h:54
berryDisplay.h
berry::IWindowListener::Events
Definition:
berryIWindowListener.h:39
berry::IExtensionTracker
Definition:
berryIExtensionTracker.h:59
berryMacros.h
berry::Display
Definition:
berryDisplay.h:27
berryIIntroManager.h
berry::SmartPointer< Self >
berry::IIntroManager
Definition:
berryIIntroManager.h:47
berryIEditorRegistry.h
berry::IViewRegistry
Definition:
berryIViewRegistry.h:45
berryIWorkbenchListener.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryIPerspectiveRegistry.h
berry::IEditorRegistry
Definition:
berryIEditorRegistry.h:52
berry::IWorkbench
Definition:
berryIWorkbench.h:86
berry::IWindowListener
Definition:
berryIWindowListener.h:36
berry::IServiceLocator
Definition:
berryIServiceLocator.h:47
berryIServiceLocator.h
berryIWorkbenchWindow.h
berryIWindowListener.h
berryIViewRegistry.h
berry::IWorkbenchListener::Events
Definition:
berryIWorkbenchListener.h:42
berry::IElementFactory
Definition:
berryIElementFactory.h:47
berry::IPerspectiveRegistry
Definition:
berryIPerspectiveRegistry.h:41
berry::IWorkbenchListener
Definition:
berryIWorkbenchListener.h:39
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
berryIWorkbench.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1