Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berryPropertyTester.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 BERRYPROPERTYTESTER_H_
14 #define BERRYPROPERTYTESTER_H_
15 
17 
18 #include "internal/berryPropertyTesterDescriptor.h"
19 
21 
22 
23 namespace berry {
24 
68 class BERRY_EXPRESSIONS PropertyTester : public QObject, public IPropertyTester
69 {
70  Q_OBJECT
71  Q_INTERFACES(berry::IPropertyTester)
72 
73 private:
74  IConfigurationElement::Pointer fConfigElement;
75  QString fNamespace;
76  QString fProperties;
77 
78 public:
87  void InternalInitialize(PropertyTesterDescriptor::Pointer descriptor);
88 
95  PropertyTesterDescriptor::Pointer InternalCreateDescriptor();
96 
100  bool Handles(const QString& namespaze, const QString& property) override;
101 
105  bool IsInstantiated() override;
106 
110  bool IsDeclaringPluginActive() override;
111 
115  IPropertyTester* Instantiate() override;
116 
117 };
118 
119 } // namespace berry
120 
121 #endif /*BERRYPROPERTYTESTER_H_*/
berry::SmartPointer< Self >
org_blueberry_core_expressions_Export.h
berry::IPropertyTester
Definition: berryIPropertyTester.h:38
berry::PropertyTester
Definition: berryPropertyTester.h:68
berryIConfigurationElement.h
BERRY_EXPRESSIONS
#define BERRY_EXPRESSIONS
Definition: org_blueberry_core_expressions_Export.h:26
berry
Definition: QmitkPropertyItemModel.h:24