Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryRadioState.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 BERRYRADIOSTATE_H
14 #define BERRYRADIOSTATE_H
15 
16 #include "internal/berryPersistentState.h"
18 
19 namespace berry {
20 
41 class RadioState : public PersistentState, public IExecutableExtension
42 {
43 
44 public:
45 
49  static const QString STATE_ID; // = "org.blueberry.ui.commands.radioState";
50 
54  static const QString PARAMETER_ID; // = "org.blueberry.ui.commands.radioStateParameter";
55 
56  RadioState();
57 
59  const QString& propertyName, const Object::Pointer& data) override;
60 
61  void Load(const mitk::IPreferences* store, const std::string& preferenceKey) override;
62 
63  void Save(mitk::IPreferences* store, const std::string& preferenceKey) override;
64 
65  void SetValue(const Object::Pointer& value) override;
66 
67 };
68 
69 }
70 
71 #endif // BERRYRADIOSTATE_H
berry::RadioState::Save
void Save(mitk::IPreferences *store, const std::string &preferenceKey) override
berry::RadioState::SetValue
void SetValue(const Object::Pointer &value) override
berry::RadioState::PARAMETER_ID
static const QString PARAMETER_ID
Definition: berryRadioState.h:54
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berryIExecutableExtension.h
berry::RadioState::RadioState
RadioState()
berry::IExecutableExtension
Definition: berryIExecutableExtension.h:42
berry::RadioState
Definition: berryRadioState.h:41
berry::RadioState::STATE_ID
static const QString STATE_ID
Definition: berryRadioState.h:49
berry::RadioState::Load
void Load(const mitk::IPreferences *store, const std::string &preferenceKey) override
berry::RadioState::SetInitializationData
void SetInitializationData(const SmartPointer< IConfigurationElement > &config, const QString &propertyName, const Object::Pointer &data) override
mitk::IPreferences
Interface to application preferences.
Definition: mitkIPreferences.h:50
berry
Definition: QmitkPropertyItemModel.h:24