Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIEditorInput.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYIEDITORINPUT_H_
18 #define BERRYIEDITORINPUT_H_
19 
20 #include <berryMacros.h>
21 #include <berryObject.h>
22 
23 #include <berryIAdaptable.h>
24 
26 
27 namespace berry
28 {
29 
30 struct IPersistableElement;
31 
70 struct BERRY_UI_QT IEditorInput : public virtual Object, public virtual IAdaptable
71 {
73 
74  ~IEditorInput();
75 
87  virtual bool Exists() const = 0;
88 
95  virtual QIcon GetIcon() const = 0;
96 
105  virtual QString GetName() const = 0;
106 
114  virtual const IPersistableElement* GetPersistable() const = 0;
115 
125  virtual QString GetToolTipText() const = 0;
126 
131  virtual bool operator==(const Object* o) const = 0;
132 };
133 
134 }
135 
136 #endif /*BERRYIEDITORINPUT_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define berryObjectMacro(...)
Definition: berryMacros.h:37
static std::string GetName(std::string fileName, std::string suffix)
#define BERRY_UI_QT