Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryViewPart.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 BERRYVIEWPART_H_
14 #define BERRYVIEWPART_H_
15 
16 #include "berryIViewPart.h"
17 #include "berryIViewSite.h"
18 #include "berryWorkbenchPart.h"
19 
20 #include "berryIMemento.h"
21 
22 
23 namespace berry {
24 
66 {
67  Q_OBJECT
68  Q_INTERFACES(berry::IViewPart)
69 
70 protected:
71  ViewPart();
72 
80  void CheckSite(IWorkbenchPartSite::Pointer site) override;
81 
82 public:
83 
85 
86  void Init(IViewSite::Pointer site, IMemento::Pointer memento = IMemento::Pointer(nullptr)) override;
87 
88  void SaveState(IMemento::Pointer memento) override;
89 
90  /*
91  * Method declared on IViewPart.
92  */
93  IViewSite::Pointer GetViewSite() override;
94 
95 };
96 
97 } // namespace berry
98 
99 #endif /*BERRYVIEWPART_H_*/
berry::IViewPart
Definition: berryIViewPart.h:70
berryWorkbenchPart.h
berryIMemento.h
berry::SmartPointer< Self >
berry::ViewPart
Definition: berryViewPart.h:65
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::WorkbenchPart
Definition: berryWorkbenchPart.h:40
berryIViewSite.h
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berryIViewPart.h
berry
Definition: QmitkPropertyItemModel.h:24