Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryIMenuManager.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 BERRYIMENUMANAGER_H
15
#define BERRYIMENUMANAGER_H
16
17
#include <
berryIContributionManager.h
>
18
#include <
berryIContributionItem.h
>
19
20
namespace
berry
{
21
37
struct
IMenuManager
:
public
virtual
IContributionManager
,
public
IContributionItem
38
{
39
40
berryObjectMacro
(
berry::IMenuManager
);
41
48
virtual
void
AddMenuListener
(QObject* listener) = 0;
49
64
virtual
IMenuManager::Pointer
FindMenuUsingPath
(
const
QString& path)
const
= 0;
65
75
virtual
IContributionItem::Pointer
FindUsingPath
(
const
QString& path)
const
= 0;
76
85
virtual
bool
GetRemoveAllWhenShown
()
const
= 0;
86
93
bool
IsEnabled
()
const override
= 0;
94
101
virtual
void
RemoveMenuListener
(QObject* listener) = 0;
102
111
virtual
void
SetRemoveAllWhenShown
(
bool
removeAll) = 0;
112
120
virtual
void
UpdateAll
(
bool
force) = 0;
121
122
};
123
124
}
125
126
#endif // BERRYIMENUMANAGER_H
berry::IMenuManager::AddMenuListener
virtual void AddMenuListener(QObject *listener)=0
berry
Definition:
QmitkPropertyItemModel.h:23
berry::IContributionManager
Definition:
berryIContributionManager.h:51
berry::IMenuManager::berryObjectMacro
berryObjectMacro(berry::IMenuManager)
berry::IMenuManager::FindMenuUsingPath
virtual IMenuManager::Pointer FindMenuUsingPath(const QString &path) const =0
berry::IMenuManager::FindUsingPath
virtual IContributionItem::Pointer FindUsingPath(const QString &path) const =0
berry::SmartPointer< Self >
berry::IMenuManager::SetRemoveAllWhenShown
virtual void SetRemoveAllWhenShown(bool removeAll)=0
berry::IMenuManager
Definition:
berryIMenuManager.h:37
berry::IMenuManager::UpdateAll
virtual void UpdateAll(bool force)=0
berry::IMenuManager::GetRemoveAllWhenShown
virtual bool GetRemoveAllWhenShown() const =0
berry::IMenuManager::RemoveMenuListener
virtual void RemoveMenuListener(QObject *listener)=0
berry::IContributionItem
Definition:
berryIContributionItem.h:51
berry::IMenuManager::IsEnabled
bool IsEnabled() const override=0
berryIContributionManager.h
berryIContributionItem.h
Source
Plugins
org.blueberry.ui.qt
src
actions
berryIMenuManager.h
Generated on Thu Mar 12 2020 10:23:32 for Medical Imaging Interaction Toolkit by
1.8.13