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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryISaveablePart.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
18
#ifndef BERRYISAVEABLEPART_H_
19
#define BERRYISAVEABLEPART_H_
20
21
#include <
berryMacros.h
>
22
#include <
berryObject.h
>
23
24
#include <
org_blueberry_ui_qt_Export.h
>
25
26
#include <QtPlugin>
27
28
namespace
berry
{
29
37
struct
BERRY_UI_QT
ISaveablePart
:
public
virtual
Object
38
{
39
40
berryObjectMacro
(
berry::ISaveablePart
)
41
42
45
static
const
int
PROP_DIRTY;
// = IWorkbenchPartConstants.PROP_DIRTY;
46
65
virtual
void
DoSave(
/*IProgressMonitor monitor*/
) = 0;
66
80
virtual
void
DoSaveAs() = 0;
81
96
virtual
bool
IsDirty()
const
= 0;
97
104
virtual
bool
IsSaveAsAllowed()
const
= 0;
105
113
virtual
bool
IsSaveOnCloseNeeded()
const
= 0;
114
};
115
116
}
117
118
Q_DECLARE_INTERFACE(
berry::ISaveablePart
,
"org.blueberry.ui.ISaveablePart"
)
119
120
121
#endif
/* BERRYISAVEABLEPART_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berry::ISaveablePart
Definition:
berryISaveablePart.h:37
org_blueberry_ui_qt_Export.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryObject.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
berryISaveablePart.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1