Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berryIMenuService.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 BERRYIMENUSERVICE_H_
15
#define BERRYIMENUSERVICE_H_
16
17
#include <
berryIServiceWithSources.h
>
18
19
namespace
berry
{
20
21
class
AbstractContributionFactory;
22
class
ContributionManager;
23
struct
IEvaluationContext;
24
44
struct
IMenuService
:
public
IServiceWithSources
45
{
46
47
berryObjectMacro
(
berry::IMenuService
);
48
63
virtual
void
AddContributionFactory
(
const
SmartPointer<AbstractContributionFactory>
& factory) = 0;
64
73
virtual
void
RemoveContributionFactory
(
const
SmartPointer<AbstractContributionFactory>
& factory) = 0;
74
88
virtual
void
PopulateContributionManager
(
ContributionManager
* mgr,
89
const
QString& location) = 0;
90
101
virtual
void
ReleaseContributions
(
ContributionManager
* mgr) = 0;
102
111
virtual
SmartPointer<IEvaluationContext>
GetCurrentState
()
const
= 0;
112
};
113
114
}
115
116
Q_DECLARE_INTERFACE(
berry::IMenuService
,
"org.blueberry.ui.IMenuService"
)
117
118
#endif
/* BERRYIMENUSERVICE_H_ */
berry::IServiceWithSources
Definition:
berryIServiceWithSources.h:34
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::IMenuService::PopulateContributionManager
virtual void PopulateContributionManager(ContributionManager *mgr, const QString &location)=0
berryIServiceWithSources.h
berry::IMenuService::AddContributionFactory
virtual void AddContributionFactory(const SmartPointer< AbstractContributionFactory > &factory)=0
berry::IMenuService
Definition:
berryIMenuService.h:44
berry::ContributionManager
Definition:
berryContributionManager.h:42
berry::IMenuService::RemoveContributionFactory
virtual void RemoveContributionFactory(const SmartPointer< AbstractContributionFactory > &factory)=0
berry::IMenuService::berryObjectMacro
berryObjectMacro(berry::IMenuService)
berry::IMenuService::ReleaseContributions
virtual void ReleaseContributions(ContributionManager *mgr)=0
berry
Definition:
QmitkPropertyItemModel.h:24
berry::IMenuService::GetCurrentState
virtual SmartPointer< IEvaluationContext > GetCurrentState() const =0
src
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryIMenuService.h
Generated on Sat Nov 23 2024 02:13:07 for Medical Imaging Interaction Toolkit by
1.8.17