Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIActionBarConfigurer.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 #ifndef BERRYIACTIONBARCONFIGURER_H_
18 #define BERRYIACTIONBARCONFIGURER_H_
19 
20 #include <berryObject.h>
21 
23 
24 
25 namespace berry
26 {
27 
28 struct IWorkbenchWindowConfigurer;
29 struct IMenuManager;
30 struct IToolBarManager;
31 
47 {
48 
50 
52 
59  virtual SmartPointer<IWorkbenchWindowConfigurer> GetWindowConfigurer() = 0;
60 
68  virtual IMenuManager* GetMenuManager() = 0;
69 
77  virtual IToolBarManager* GetToolBarManager() = 0;
78 
79  /*
80  * Returns the status line manager of a workbench window.
81  *
82  * @return the status line manager
83  */
84  //virtual IStatusLineManager GetStatusLineManager() = 0;
85 
86  /*
87  * Register the action as a global action with a workbench
88  * window.
89  * <p>
90  * For a workbench retarget action
91  * ({@link org.blueberry.ui.actions.RetargetAction RetargetAction})
92  * to work, it must be registered.
93  * You should also register actions that will participate
94  * in custom key bindings.
95  * </p>
96  *
97  * @param action the global action
98  * @see org.blueberry.ui.actions.RetargetAction
99  */
100  //virtual void RegisterGlobalAction(IAction action) = 0;
101 
102 };
103 
104 }
105 
106 #endif /*BERRYIACTIONBARCONFIGURER_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT