Medical Imaging Interaction Toolkit  2024.06.00
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 
18 
19 namespace berry {
20 
21 class AbstractContributionFactory;
22 class ContributionManager;
23 struct IEvaluationContext;
24 
45 {
46 
48 
64 
74 
89  const QString& location) = 0;
90 
101  virtual void ReleaseContributions(ContributionManager* mgr) = 0;
102 
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