Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryRegistryToggleState.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 BERRYREGISTRYTOGGLESTATE_H
14 #define BERRYREGISTRYTOGGLESTATE_H
15 
16 #include "berryToggleState.h"
18 
19 namespace berry {
20 
41 {
42 
43 public:
44 
48  static const QString STATE_ID; // = "org.blueberry.ui.commands.toggleState";
49 
50  void SetInitializationData(const SmartPointer<IConfigurationElement>& configurationElement,
51  const QString& propertyName, const Object::Pointer& data) override;
52 
53 private:
54 
63  void ReadDefault(const QString& defaultString);
64 
73  void ReadPersisted(const QString& persistedString);
74 
75 };
76 
77 }
78 
79 #endif // BERRYREGISTRYTOGGLESTATE_H
berry::RegistryToggleState::STATE_ID
static const QString STATE_ID
Definition: berryRegistryToggleState.h:48
berry::ToggleState
Definition: berryToggleState.h:33
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berryIExecutableExtension.h
berry::IExecutableExtension
Definition: berryIExecutableExtension.h:42
berry::RegistryToggleState::SetInitializationData
void SetInitializationData(const SmartPointer< IConfigurationElement > &configurationElement, const QString &propertyName, const Object::Pointer &data) override
berry::RegistryToggleState
Definition: berryRegistryToggleState.h:40
berryToggleState.h
berry
Definition: QmitkPropertyItemModel.h:24