Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIViewDescriptor.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 BERRYIVIEWDESCRIPTOR_H_
18 #define BERRYIVIEWDESCRIPTOR_H_
19 
21 
23 #include "berryIViewPart.h"
24 
26 #include <berryIAdaptable.h>
27 
28 namespace berry
29 {
30 
47 {
48 
50 
51  ~IViewDescriptor();
52 
59  virtual IViewPart::Pointer CreateView() = 0;
60 
69  virtual QStringList GetKeywordReferences() const = 0;
70 
78  virtual QStringList GetCategoryPath() const = 0;
79 
85  virtual QString GetDescription() const = 0;
86 
87 
91  virtual QIcon GetImageDescriptor() const = 0;
92 
93 
99  virtual bool GetAllowMultiple() const = 0;
100 
106  virtual bool IsRestorable() const = 0;
107 
108  virtual bool operator==(const Object*) const = 0;
109 };
110 
111 }
112 
113 #endif /*BERRYIVIEWDESCRIPTOR_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
#define BERRY_UI_QT