Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berryIFileEditorMapping.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 BERRYIFILEEDITORMAPPING_H_
14 #define BERRYIFILEEDITORMAPPING_H_
15 
16 #include <berryMacros.h>
17 
18 #include "berryIEditorDescriptor.h"
19 
20 
21 namespace berry {
22 
42 {
43 
45 
46  ~IFileEditorMapping() override;
47 
55  virtual IEditorDescriptor::Pointer GetDefaultEditor() = 0;
56 
62  virtual QList<IEditorDescriptor::Pointer> GetEditors() const = 0;
63 
70  virtual QList<IEditorDescriptor::Pointer> GetDeletedEditors() const = 0;
71 
77  virtual QString GetExtension() const = 0;
78 
88  //virtual ImageDescriptor GetImageDescriptor() = 0;
89 
96  virtual QString GetLabel() const = 0;
97 
103  virtual QString GetName() const = 0;
104 };
105 
106 }
107 #endif /*BERRYIFILEEDITORMAPPING_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
static std::string GetName(std::string fileName, std::string suffix)
#define BERRY_UI_QT