Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIWorkbenchSite.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 BERRYIWORKBENCHSITE_H_
14 #define BERRYIWORKBENCHSITE_H_
15 
16 #include <berryMacros.h>
17 
19 
21 
22 namespace berry {
23 
24 struct IWorkbenchPage;
25 struct ISelectionProvider;
26 struct IWorkbenchWindow;
27 class Shell;
28 
54 struct BERRY_UI_QT IWorkbenchSite : public IServiceLocator { // IAdaptable, IShellProvider {
55 
57 
58  ~IWorkbenchSite() override;
59 
65  virtual SmartPointer<IWorkbenchPage> GetPage() = 0;
66 
72  virtual SmartPointer<ISelectionProvider> GetSelectionProvider() = 0;
73 
81  virtual SmartPointer<Shell> GetShell() = 0;
82 
88  virtual SmartPointer<IWorkbenchWindow> GetWorkbenchWindow() = 0;
89 
96  virtual void SetSelectionProvider(SmartPointer<ISelectionProvider> provider) = 0;
97 
98 };
99 
100 }
101 
102 #endif /*BERRYIWORKBENCHSITE_H_*/
org_blueberry_ui_qt_Export.h
berry::IServiceLocator
Definition: berryIServiceLocator.h:43
berry::IWorkbenchSite
Definition: berryIWorkbenchSite.h:54
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryIServiceLocator.h
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berry
Definition: QmitkPropertyItemModel.h:24