Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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
static QString QUERY_BEFORE
Definition: berryMenuUtil.h:49
static QString SHOW_IN_MENU_ID
Definition: berryMenuUtil.h:71
static QString MAIN_MENU
Definition: berryMenuUtil.h:39
static QString QUERY_AFTER
Definition: berryMenuUtil.h:54
static QString ANY_POPUP
Definition: berryMenuUtil.h:44
static QString WORKBENCH_MENU
Definition: berryMenuUtil.h:37
static QString QUERY_ENDOF
Definition: berryMenuUtil.h:65
static QString MAIN_TOOLBAR
Definition: berryMenuUtil.h:41
#define BERRY_UI_QT