Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berryWorkbenchWindowAdvisor.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 BERRYWORKBENCHWINDOWADVISOR_H_
14 #define BERRYWORKBENCHWINDOWADVISOR_H_
15 
16 #include <berrySmartPointer.h>
17 
19 
20 namespace berry
21 {
22 
23 struct IActionBarConfigurer;
24 struct IMemento;
25 struct IWorkbenchWindowConfigurer;
26 
27 class ActionBarAdvisor;
28 class Shell;
29 
66 {
67 
68 private:
69 
71 
72 protected:
73 
79  SmartPointer<IWorkbenchWindowConfigurer> GetWindowConfigurer();
80 
81 public:
82 
90  virtual ~WorkbenchWindowAdvisor();
91 
105  virtual void PreWindowOpen();
106 
115  virtual SmartPointer<ActionBarAdvisor> CreateActionBarAdvisor(
117 
134  virtual void PostWindowRestore();
135 
149  virtual void OpenIntro();
150 
162  virtual void PostWindowCreate();
163 
175  virtual void PostWindowOpen();
176 
197  virtual bool PreWindowShellClose();
198 
207  virtual void PostWindowClose();
208 
228  virtual void CreateWindowContents(SmartPointer<Shell> shell);
229 
241  virtual QWidget* CreateEmptyWindowContents(QWidget* parent);
242 
249  virtual bool SaveState(SmartPointer<IMemento> memento);
250 
257  virtual bool RestoreState(SmartPointer<IMemento> memento);
258 };
259 
260 }
261 
262 #endif /*BERRYWORKBENCHWINDOWADVISOR_H_*/
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::WorkbenchWindowAdvisor
Definition: berryWorkbenchWindowAdvisor.h:65
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berrySmartPointer.h
berry
Definition: QmitkPropertyItemModel.h:24