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
berryExtensionFactory.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 BERRYEXTENSIONFACTORY_H
18
#define BERRYEXTENSIONFACTORY_H
19
20
#include <
berryIConfigurationElement.h
>
21
#include <
berryIExecutableExtensionFactory.h
>
22
#include <
berryIExecutableExtension.h
>
23
24
#include <
org_blueberry_ui_qt_Export.h
>
25
26
namespace
berry
{
27
35
class
BERRY_UI_QT
ExtensionFactory
:
public
QObject,
public
IExecutableExtensionFactory
,
36
public
IExecutableExtension
37
{
38
Q_OBJECT
39
Q_INTERFACES(
berry::IExecutableExtensionFactory
berry::IExecutableExtension
)
40
41
public
:
42
43
~
ExtensionFactory
();
44
48
static
const
QString
STYLE_PREFERENCE_PAGE
;
// = "stylePreferencePage";
49
53
static
const
QString
PERSPECTIVES_PREFERENCE_PAGE
;
// = "perspectivesPreferencePage";
54
55
/*
56
* Factory ID for the show in contribution.
57
*/
58
//static const QString SHOW_IN_CONTRIBUTION = "showInContribution";
59
60
65
QObject* Create()
override
;
66
67
/*
68
* @see IExecutableExtension#SetInitializationData
69
*/
70
void
SetInitializationData(
const
SmartPointer<IConfigurationElement>
& config,
71
const
QString& propertyName,
const
Object::Pointer
& data)
override
;
72
73
private
:
74
75
QObject* Configure(QObject* obj);
76
77
IConfigurationElement::Pointer
config;
78
79
QString id;
80
81
QString propertyName;
82
83
};
84
85
}
86
87
#endif // BERRYEXTENSIONFACTORY_H
berry
Definition:
QmitkPropertyItemModel.h:27
berryIExecutableExtensionFactory.h
berry::ExtensionFactory::STYLE_PREFERENCE_PAGE
static const QString STYLE_PREFERENCE_PAGE
Definition:
berryExtensionFactory.h:48
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
org_blueberry_ui_qt_Export.h
berryIConfigurationElement.h
berryIExecutableExtension.h
berry::IExecutableExtensionFactory
Definition:
berryIExecutableExtensionFactory.h:52
berry::ExtensionFactory::PERSPECTIVES_PREFERENCE_PAGE
static const QString PERSPECTIVES_PREFERENCE_PAGE
Definition:
berryExtensionFactory.h:53
berry::ExtensionFactory
Definition:
berryExtensionFactory.h:35
berry::IExecutableExtension
Definition:
berryIExecutableExtension.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
berryExtensionFactory.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1