Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryMenuUtil.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 
14 #ifndef BERRYMENUUTIL_H
15 #define BERRYMENUUTIL_H
16 
18 
19 namespace berry {
20 
28 {
29 
30 public:
31 
37  static QString WORKBENCH_MENU; // = "menu:org.blueberry.ui.workbench.menu";
39  static QString MAIN_MENU; // = "menu:org.blueberry.ui.main.menu";
41  static QString MAIN_TOOLBAR; // = "toolbar:org.blueberry.ui.main.toolbar";
42 
44  static QString ANY_POPUP; // = "popup:org.blueberry.ui.popup.any";
45 
49  static QString QUERY_BEFORE; // = "before";
50 
54  static QString QUERY_AFTER; // = "after";
55 
65  static QString QUERY_ENDOF; // = "endof";
66 
71  static QString SHOW_IN_MENU_ID; // = "popup:org.blueberry.ui.menus.showInMenu";
72 
78  static QString MenuUri(const QString& id);
79 
89  static QString MenuAddition(const QString& id, const QString& location,
90  const QString& refId);
91 
100  static QString MenuAddition(const QString& id);
101 
107  static QString ToolbarUri(const QString& id);
108 
118  static QString ToolbarAddition(const QString& id, const QString& location,
119  const QString& refId);
120 
129  static QString ToolbarAddition(const QString& id);
130 };
131 
132 }
133 
134 #endif // BERRYMENUUTIL_H
berry::MenuUtil::MAIN_TOOLBAR
static QString MAIN_TOOLBAR
Definition: berryMenuUtil.h:41
org_blueberry_ui_qt_Export.h
berry::MenuUtil::QUERY_BEFORE
static QString QUERY_BEFORE
Definition: berryMenuUtil.h:49
berry::MenuUtil::SHOW_IN_MENU_ID
static QString SHOW_IN_MENU_ID
Definition: berryMenuUtil.h:71
berry::MenuUtil::QUERY_AFTER
static QString QUERY_AFTER
Definition: berryMenuUtil.h:54
berry::MenuUtil::ANY_POPUP
static QString ANY_POPUP
Definition: berryMenuUtil.h:44
berry::MenuUtil::MAIN_MENU
static QString MAIN_MENU
Definition: berryMenuUtil.h:39
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::MenuUtil::WORKBENCH_MENU
static QString WORKBENCH_MENU
Definition: berryMenuUtil.h:37
berry::MenuUtil
Definition: berryMenuUtil.h:27
berry::MenuUtil::QUERY_ENDOF
static QString QUERY_ENDOF
Definition: berryMenuUtil.h:65
berry
Definition: QmitkPropertyItemModel.h:24