Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIActionBarConfigurer.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 BERRYIACTIONBARCONFIGURER_H_
14 #define BERRYIACTIONBARCONFIGURER_H_
15 
16 #include <berryObject.h>
17 
19 
20 
21 namespace berry
22 {
23 
24 struct IWorkbenchWindowConfigurer;
25 struct IMenuManager;
26 struct IToolBarManager;
27 
42 {
43 
45 
46  ~IActionBarConfigurer() override;
47 
54  virtual SmartPointer<IWorkbenchWindowConfigurer> GetWindowConfigurer() = 0;
55 
63  virtual IMenuManager* GetMenuManager() = 0;
64 
72  virtual IToolBarManager* GetToolBarManager() = 0;
73 
74  /*
75  * Returns the status line manager of a workbench window.
76  *
77  * @return the status line manager
78  */
79  //virtual IStatusLineManager GetStatusLineManager() = 0;
80 
81  /*
82  * Register the action as a global action with a workbench
83  * window.
84  * <p>
85  * For a workbench retarget action
86  * ({@link org.blueberry.ui.actions.RetargetAction RetargetAction})
87  * to work, it must be registered.
88  * You should also register actions that will participate
89  * in custom key bindings.
90  * </p>
91  *
92  * @param action the global action
93  * @see org.blueberry.ui.actions.RetargetAction
94  */
95  //virtual void RegisterGlobalAction(IAction action) = 0;
96 
97 };
98 
99 }
100 
101 #endif /*BERRYIACTIONBARCONFIGURER_H_*/
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IMenuManager
Definition: berryIMenuManager.h:36
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berry::IActionBarConfigurer
Definition: berryIActionBarConfigurer.h:41
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24