Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
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 
43 {
44 
46 
47  ~IActionBarConfigurer() override;
48 
55  virtual SmartPointer<IWorkbenchWindowConfigurer> GetWindowConfigurer() = 0;
56 
64  virtual IMenuManager* GetMenuManager() = 0;
65 
73  virtual IToolBarManager* GetToolBarManager() = 0;
74 
75  /*
76  * Returns the status line manager of a workbench window.
77  *
78  * @return the status line manager
79  */
80  //virtual IStatusLineManager GetStatusLineManager() = 0;
81 
82  /*
83  * Register the action as a global action with a workbench
84  * window.
85  * <p>
86  * For a workbench retarget action
87  * ({@link org.blueberry.ui.actions.RetargetAction RetargetAction})
88  * to work, it must be registered.
89  * You should also register actions that will participate
90  * in custom key bindings.
91  * </p>
92  *
93  * @param action the global action
94  * @see org.blueberry.ui.actions.RetargetAction
95  */
96  //virtual void RegisterGlobalAction(IAction action) = 0;
97 
98 };
99 
100 }
101 
102 #endif /*BERRYIACTIONBARCONFIGURER_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT