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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryIMenuService.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 BERRYIMENUSERVICE_H_
19
#define BERRYIMENUSERVICE_H_
20
21
#include <
berryIServiceWithSources.h
>
22
23
namespace
berry
{
24
25
class
AbstractContributionFactory;
26
class
ContributionManager;
27
struct
IEvaluationContext;
28
48
struct
IMenuService
:
public
IServiceWithSources
49
{
50
51
berryObjectMacro
(
berry::IMenuService
)
52
53
67
virtual
void
AddContributionFactory(
const
SmartPointer<AbstractContributionFactory>
& factory) = 0;
68
77
virtual
void
RemoveContributionFactory
(
const
SmartPointer<AbstractContributionFactory>
& factory) = 0;
78
92
virtual
void
PopulateContributionManager
(
ContributionManager
* mgr,
93
const
QString& location) = 0;
94
105
virtual
void
ReleaseContributions
(
ContributionManager
* mgr) = 0;
106
115
virtual
SmartPointer<IEvaluationContext>
GetCurrentState
()
const
= 0;
116
};
117
118
}
119
120
Q_DECLARE_INTERFACE(
berry::IMenuService
,
"org.blueberry.ui.IMenuService"
)
121
122
#endif
/* BERRYIMENUSERVICE_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IMenuService::ReleaseContributions
virtual void ReleaseContributions(ContributionManager *mgr)=0
berry::IMenuService
Definition:
berryIMenuService.h:48
berryIServiceWithSources.h
berry::IMenuService::PopulateContributionManager
virtual void PopulateContributionManager(ContributionManager *mgr, const QString &location)=0
berry::ContributionManager
Definition:
berryContributionManager.h:46
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
berry::IServiceWithSources
Definition:
berryIServiceWithSources.h:38
berry::IMenuService::RemoveContributionFactory
virtual void RemoveContributionFactory(const SmartPointer< AbstractContributionFactory > &factory)=0
berry::IMenuService::berryObjectMacro
berryObjectMacro(berry::IMenuService) virtual void AddContributionFactory(const SmartPointer< AbstractContributionFactory > &factory)=0
berry::IMenuService::GetCurrentState
virtual SmartPointer< IEvaluationContext > GetCurrentState() const =0
git
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryIMenuService.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1