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
berryIWorkbenchPartReference.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 BERRYIWORKBENCHPARTREFERENCE_H_
18
#define BERRYIWORKBENCHPARTREFERENCE_H_
19
20
#include <
berryMacros.h
>
21
22
#include <
org_blueberry_ui_qt_Export.h
>
23
#include "
berryIPropertyChangeListener.h
"
24
25
namespace
berry
{
26
27
struct
IWorkbenchPart;
28
struct
IWorkbenchPage;
29
40
struct
BERRY_UI_QT
IWorkbenchPartReference
:
public
Object
41
{
42
43
berryObjectMacro
(
berry::IWorkbenchPartReference
)
44
45
~
IWorkbenchPartReference
();
46
53
virtual
SmartPointer<IWorkbenchPart>
GetPart(
bool
restore) = 0;
54
58
virtual
QIcon GetTitleImage()
const
= 0;
59
63
virtual
QString GetTitleToolTip()
const
= 0;
64
68
virtual
QString GetId()
const
= 0;
69
73
virtual
void
AddPropertyListener(
IPropertyChangeListener
* listener) = 0;
74
78
virtual
void
RemovePropertyListener(
IPropertyChangeListener
* listener) = 0;
79
83
virtual
SmartPointer<IWorkbenchPage>
GetPage()
const
= 0;
84
90
virtual
QString GetPartName()
const
= 0;
91
97
virtual
QString GetContentDescription()
const
= 0;
98
102
virtual
bool
IsPinned()
const
= 0;
103
109
virtual
bool
IsDirty()
const
= 0;
110
121
virtual
QString GetPartProperty(
const
QString& key)
const
= 0;
122
129
//virtual void addPartPropertyListener(IPropertyChangeListener listener) = 0;
130
137
//virtual void removePartPropertyListener(IPropertyChangeListener listener) = 0;
138
};
139
140
}
// namespace berry
141
142
#endif
/*BERRYIWORKBENCHPARTREFERENCE_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
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
berry::IWorkbenchPartReference
Definition:
berryIWorkbenchPartReference.h:40
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryIPropertyChangeListener.h
berry::IPropertyChangeListener
Definition:
berryIPropertyChangeListener.h:46
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
berryIWorkbenchPartReference.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1