Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryIMenuManager.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 BERRYIMENUMANAGER_H
19
#define BERRYIMENUMANAGER_H
20
21
#include <
berryIContributionManager.h
>
22
#include <
berryIContributionItem.h
>
23
24
namespace
berry
{
25
41
struct
IMenuManager
:
public
virtual
IContributionManager
,
public
IContributionItem
42
{
43
44
berryObjectMacro
(
berry::IMenuManager
)
45
46
52
virtual
void
AddMenuListener(QObject* listener) = 0;
53
68
virtual
IMenuManager::Pointer
FindMenuUsingPath
(
const
QString& path)
const
= 0;
69
79
virtual
IContributionItem::Pointer
FindUsingPath
(
const
QString& path)
const
= 0;
80
89
virtual
bool
GetRemoveAllWhenShown
()
const
= 0;
90
97
virtual
bool
IsEnabled
()
const
= 0;
98
105
virtual
void
RemoveMenuListener
(QObject* listener) = 0;
106
115
virtual
void
SetRemoveAllWhenShown
(
bool
removeAll) = 0;
116
124
virtual
void
UpdateAll
(
bool
force) = 0;
125
126
};
127
128
}
129
130
#endif // BERRYIMENUMANAGER_H
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IContributionManager
Definition:
berryIContributionManager.h:55
berry::IMenuManager::IsEnabled
virtual bool IsEnabled() const =0
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:41
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:55
berry::IMenuManager::berryObjectMacro
berryObjectMacro(berry::IMenuManager) virtual void AddMenuListener(QObject *listener)=0
berryIContributionManager.h
berryIContributionItem.h
git
MITK
Plugins
org.blueberry.ui.qt
src
actions
berryIMenuManager.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1