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
berryIWorkbenchWindow.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 BERRYIWORKBENCHWINDOW_H_
18
#define BERRYIWORKBENCHWINDOW_H_
19
20
#include <
berryMacros.h
>
21
#include <
berryIAdaptable.h
>
22
23
#include <
org_blueberry_ui_qt_Export.h
>
24
25
#include "
berryIPageService.h
"
26
#include "
berryShell.h
"
27
28
#include "
services/berryIServiceLocator.h
"
29
30
namespace
berry
{
31
32
struct
IPartService;
33
struct
ISelectionService;
34
struct
IWorkbenchPage;
35
struct
IWorkbench;
36
70
struct
BERRY_UI_QT
IWorkbenchWindow
:
public
IPageService
,
public
IServiceLocator
,
public
virtual
Object
71
{
72
73
berryObjectMacro
(
berry::IWorkbenchWindow
,
IPageService
,
IServiceLocator
,
Object
)
74
75
85
virtual
bool
Close() = 0;
86
96
virtual
QList<SmartPointer<IWorkbenchPage> > GetPages()
const
= 0;
97
103
virtual
SmartPointer<IWorkbenchPage>
GetActivePage()
const override
= 0;
104
111
virtual
void
SetActivePage(
SmartPointer<IWorkbenchPage>
page) = 0;
112
119
virtual
IPartService
* GetPartService() = 0;
120
127
virtual
ISelectionService
* GetSelectionService()
const
= 0;
128
135
virtual
Shell::Pointer
GetShell()
const
= 0;
136
142
virtual
IWorkbench
* GetWorkbench()
const
= 0;
143
160
//virtual bool IsApplicationMenu(const QString& menuId) = 0;
161
185
virtual
SmartPointer<IWorkbenchPage>
OpenPage(
const
QString& perspectiveId,
IAdaptable
* input) = 0;
186
208
virtual
SmartPointer<IWorkbenchPage>
OpenPage(
IAdaptable
* input) = 0;
209
210
//virtual void SetPerspectiveExcludeList(const QStringList& v) = 0;
211
//virtual QStringList GetPerspectiveExcludeList() const = 0;
212
213
//virtual void SetViewExcludeList(const QStringList& v) = 0;
214
//virtual QStringList GetViewExcludeList() const = 0;
215
216
virtual
~
IWorkbenchWindow
();
217
218
};
219
220
}
221
222
#endif
/*BERRYIWORKBENCHWINDOW_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IAdaptable
Definition:
berryIAdaptable.h:54
berry::IPartService
Definition:
berryIPartService.h:39
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
org_blueberry_ui_qt_Export.h
berryIAdaptable.h
berryShell.h
berryIPageService.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berry::ISelectionService
Definition:
berryISelectionService.h:45
berry::IWorkbenchWindow
Definition:
berryIWorkbenchWindow.h:70
berry::IWorkbench
Definition:
berryIWorkbench.h:86
berry::IServiceLocator
Definition:
berryIServiceLocator.h:47
berryIServiceLocator.h
berry::IPageService
Definition:
berryIPageService.h:48
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
berryIWorkbenchWindow.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1