Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryIEditorReference.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 BERRYIEDITORREFERENCE_H_
18 #define BERRYIEDITORREFERENCE_H_
19 
21 #include "berryIEditorPart.h"
22 #include "berryIEditorInput.h"
23 
24 namespace berry {
25 
38 {
39 
41 
43 
49  virtual QString GetFactoryId() = 0;
50 
56  virtual QString GetName() = 0;
57 
64  virtual IEditorPart::Pointer GetEditor(bool restore) = 0;
65 
66 
78  virtual IEditorInput::Pointer GetEditorInput() = 0;
79 };
80 
81 } // namespace berry
82 
83 #endif /*BERRYIEDITORREFERENCE_H_*/
#define berryObjectMacro(...)
Definition: berryMacros.h:37
static std::string GetName(std::string fileName, std::string suffix)
#define BERRY_UI_QT