Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIEditorInput.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 BERRYIEDITORINPUT_H_
14 #define BERRYIEDITORINPUT_H_
15 
16 #include <berryMacros.h>
17 #include <berryObject.h>
18 
19 #include <berryIAdaptable.h>
20 
22 
23 namespace berry
24 {
25 
26 struct IPersistableElement;
27 
66 struct BERRY_UI_QT IEditorInput : public virtual Object, public virtual IAdaptable
67 {
69 
70  ~IEditorInput() override;
71 
83  virtual bool Exists() const = 0;
84 
91  virtual QIcon GetIcon() const = 0;
92 
101  virtual QString GetName() const = 0;
102 
110  virtual const IPersistableElement* GetPersistable() const = 0;
111 
121  virtual QString GetToolTipText() const = 0;
122 
127  bool operator==(const Object* o) const override = 0;
128 };
129 
130 }
131 
132 #endif /*BERRYIEDITORINPUT_H_*/
org_blueberry_ui_qt_Export.h
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::IAdaptable
Definition: berryIAdaptable.h:50
berry::IPersistableElement
Definition: berryIPersistableElement.h:45
berry::IEditorInput
Definition: berryIEditorInput.h:66
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryIAdaptable.h
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24