Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryPlatformUI.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 BERRYPLATFORMUI_H_
14 #define BERRYPLATFORMUI_H_
15 
17 
18 #include "berryDisplay.h"
20 #include "testing/berryTestableObject.h"
21 
22 namespace berry {
23 
41 {
42 public:
43 
44  static QString PLUGIN_ID();
45  static const QString XP_WORKBENCH;
46  static const QString XP_VIEWS;
47 
54  static const int RETURN_OK;
55 
64  static const int RETURN_RESTART;
65 
73  static const int RETURN_UNSTARTABLE;
74 
82  static const int RETURN_EMERGENCY_CLOSE;
83 
113  static int CreateAndRunWorkbench(Display* display, WorkbenchAdvisor* advisor);
114 
122  static Display* CreateDisplay();
123 
131  static IWorkbench* GetWorkbench();
132 
148  static bool IsWorkbenchRunning();
149 
160  static TestableObject::Pointer GetTestableObject();
161 
162 private:
163 
164  PlatformUI();
165 
166 };
167 
168 }
169 
170 #endif /*BERRYPLATFORMUI_H_*/
berry::PlatformUI::RETURN_UNSTARTABLE
static const int RETURN_UNSTARTABLE
Definition: berryPlatformUI.h:73
org_blueberry_ui_qt_Export.h
berry::Display
Definition: berryDisplay.h:23
berry::WorkbenchAdvisor
Definition: berryWorkbenchAdvisor.h:92
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::PlatformUI::XP_VIEWS
static const QString XP_VIEWS
Definition: berryPlatformUI.h:46
berry::PlatformUI::RETURN_EMERGENCY_CLOSE
static const int RETURN_EMERGENCY_CLOSE
Definition: berryPlatformUI.h:82
berry::PlatformUI::RETURN_OK
static const int RETURN_OK
Definition: berryPlatformUI.h:54
berry::PlatformUI::RETURN_RESTART
static const int RETURN_RESTART
Definition: berryPlatformUI.h:64
berry::PlatformUI::XP_WORKBENCH
static const QString XP_WORKBENCH
Definition: berryPlatformUI.h:45
berryWorkbenchAdvisor.h
berry::IWorkbench
Definition: berryIWorkbench.h:80
berryDisplay.h
berry::PlatformUI
Definition: berryPlatformUI.h:40
berry
Definition: QmitkPropertyItemModel.h:24