Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryMenuUtil.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef BERRYMENUUTIL_H
19 #define BERRYMENUUTIL_H
20 
22 
23 namespace berry {
24 
32 {
33 
34 public:
35 
41  static QString WORKBENCH_MENU; // = "menu:org.blueberry.ui.workbench.menu";
43  static QString MAIN_MENU; // = "menu:org.blueberry.ui.main.menu";
45  static QString MAIN_TOOLBAR; // = "toolbar:org.blueberry.ui.main.toolbar";
46 
48  static QString ANY_POPUP; // = "popup:org.blueberry.ui.popup.any";
49 
53  static QString QUERY_BEFORE; // = "before";
54 
58  static QString QUERY_AFTER; // = "after";
59 
69  static QString QUERY_ENDOF; // = "endof";
70 
75  static QString SHOW_IN_MENU_ID; // = "popup:org.blueberry.ui.menus.showInMenu";
76 
82  static QString MenuUri(const QString& id);
83 
93  static QString MenuAddition(const QString& id, const QString& location,
94  const QString& refId);
95 
104  static QString MenuAddition(const QString& id);
105 
111  static QString ToolbarUri(const QString& id);
112 
122  static QString ToolbarAddition(const QString& id, const QString& location,
123  const QString& refId);
124 
133  static QString ToolbarAddition(const QString& id);
134 };
135 
136 }
137 
138 #endif // BERRYMENUUTIL_H
static QString QUERY_BEFORE
Definition: berryMenuUtil.h:53
static QString SHOW_IN_MENU_ID
Definition: berryMenuUtil.h:75
static QString MAIN_MENU
Definition: berryMenuUtil.h:43
static QString QUERY_AFTER
Definition: berryMenuUtil.h:58
static QString ANY_POPUP
Definition: berryMenuUtil.h:48
static QString WORKBENCH_MENU
Definition: berryMenuUtil.h:41
static QString QUERY_ENDOF
Definition: berryMenuUtil.h:69
static QString MAIN_TOOLBAR
Definition: berryMenuUtil.h:45
#define BERRY_UI_QT