Medical Imaging Interaction Toolkit
2025.12.02
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
berryIConfigurationElement.h
berryIExecutableExtensionFactory.h
berryIExecutableExtension.h
berry::ExtensionFactory
Definition:
berryExtensionFactory.h:33
berry::ExtensionFactory::~ExtensionFactory
~ExtensionFactory() override
berry::ExtensionFactory::SetInitializationData
void SetInitializationData(const SmartPointer< IConfigurationElement > &config, const QString &propertyName, const Object::Pointer &data) override
berry::ExtensionFactory::STYLE_PREFERENCE_PAGE
static const QString STYLE_PREFERENCE_PAGE
Definition:
berryExtensionFactory.h:44
berry::ExtensionFactory::Create
QObject * Create() override
berry::ExtensionFactory::PERSPECTIVES_PREFERENCE_PAGE
static const QString PERSPECTIVES_PREFERENCE_PAGE
Definition:
berryExtensionFactory.h:49
berry::SmartPointer
Implements transparent reference counting.
Definition:
berrySmartPointer.h:32
berry
Definition:
QmitkPropertyItemModel.h:25
org_blueberry_ui_qt_Export.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::IExecutableExtensionFactory
Definition:
berryIExecutableExtensionFactory.h:49
berry::IExecutableExtension
Definition:
berryIExecutableExtension.h:43
src
MITK
Plugins
org.blueberry.ui.qt
src
berryExtensionFactory.h
Generated on Mon Feb 23 2026 23:28:07 for Medical Imaging Interaction Toolkit by
1.9.1