Medical Imaging Interaction Toolkit  2023.12.99-1652ac8d
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 
19 
21 
22 namespace berry {
23 
33 {
34  Q_OBJECT
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 
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