Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryExtensionFactory.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef BERRYEXTENSIONFACTORY_H
14
#define BERRYEXTENSIONFACTORY_H
15
16
#include <
berryIConfigurationElement.h
>
17
#include <
berryIExecutableExtensionFactory.h
>
18
#include <
berryIExecutableExtension.h
>
19
20
#include <
org_blueberry_ui_qt_Export.h
>
21
22
namespace
berry
{
23
31
class
BERRY_UI_QT
ExtensionFactory
:
public
QObject,
public
IExecutableExtensionFactory
,
32
public
IExecutableExtension
33
{
34
Q_OBJECT
35
Q_INTERFACES(
berry::IExecutableExtensionFactory
berry::IExecutableExtension
)
36
37
public
:
38
39
~
ExtensionFactory
()
override
;
40
44
static
const
QString
STYLE_PREFERENCE_PAGE
;
// = "stylePreferencePage";
45
49
static
const
QString
PERSPECTIVES_PREFERENCE_PAGE
;
// = "perspectivesPreferencePage";
50
51
/*
52
* Factory ID for the show in contribution.
53
*/
54
//static const QString SHOW_IN_CONTRIBUTION = "showInContribution";
55
56
61
QObject* Create()
override
;
62
63
/*
64
* @see IExecutableExtension#SetInitializationData
65
*/
66
void
SetInitializationData(
const
SmartPointer<IConfigurationElement>
& config,
67
const
QString& propertyName,
const
Object::Pointer
& data)
override
;
68
69
private
:
70
71
QObject* Configure(QObject* obj);
72
73
IConfigurationElement::Pointer
config;
74
75
QString id;
76
77
QString propertyName;
78
79
};
80
81
}
82
83
#endif // BERRYEXTENSIONFACTORY_H
berry::ExtensionFactory::PERSPECTIVES_PREFERENCE_PAGE
static const QString PERSPECTIVES_PREFERENCE_PAGE
Definition:
berryExtensionFactory.h:49
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berryIExecutableExtensionFactory.h
berryIConfigurationElement.h
berryIExecutableExtension.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::IExecutableExtension
Definition:
berryIExecutableExtension.h:42
berry::ExtensionFactory::STYLE_PREFERENCE_PAGE
static const QString STYLE_PREFERENCE_PAGE
Definition:
berryExtensionFactory.h:44
berry
Definition:
QmitkPropertyItemModel.h:24
berry::IExecutableExtensionFactory
Definition:
berryIExecutableExtensionFactory.h:48
berry::ExtensionFactory
Definition:
berryExtensionFactory.h:31
src
MITK
Plugins
org.blueberry.ui.qt
src
berryExtensionFactory.h
Generated on Mon Dec 23 2024 02:13:14 for Medical Imaging Interaction Toolkit by
1.8.17