Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIFileEditorMapping.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 BERRYIFILEEDITORMAPPING_H_
18 #define BERRYIFILEEDITORMAPPING_H_
19 
20 #include <berryMacros.h>
21 
22 #include "berryIEditorDescriptor.h"
23 
24 
25 namespace berry {
26 
46 {
47 
49 
50  virtual ~IFileEditorMapping();
51 
59  virtual IEditorDescriptor::Pointer GetDefaultEditor() = 0;
60 
66  virtual QList<IEditorDescriptor::Pointer> GetEditors() const = 0;
67 
74  virtual QList<IEditorDescriptor::Pointer> GetDeletedEditors() const = 0;
75 
81  virtual QString GetExtension() const = 0;
82 
92  //virtual ImageDescriptor GetImageDescriptor() = 0;
93 
100  virtual QString GetLabel() const = 0;
101 
107  virtual QString GetName() const = 0;
108 };
109 
110 }
111 #endif /*BERRYIFILEEDITORMAPPING_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
static std::string GetName(std::string fileName, std::string suffix)
#define BERRY_UI_QT