Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryIContributionRoot.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 BERRYICONTRIBUTIONROOT_H
15
#define BERRYICONTRIBUTIONROOT_H
16
17
#include <
berryObject.h
>
18
19
namespace
berry
{
20
21
struct
IContributionItem;
22
23
class
Expression;
24
31
struct
IContributionRoot
:
public
Object
32
{
33
berryObjectMacro
(
berry::IContributionRoot
);
34
46
virtual
void
AddContributionItem
(
const
SmartPointer<IContributionItem>
& item,
47
const
SmartPointer<Expression>
& visibleWhen) = 0;
48
61
virtual
void
RegisterVisibilityForChild
(
const
SmartPointer<IContributionItem>
& item,
62
const
SmartPointer<Expression>
& visibleWhen) = 0;
63
};
64
65
}
66
67
#endif // BERRYICONTRIBUTIONROOT_H
berry::IContributionRoot::AddContributionItem
virtual void AddContributionItem(const SmartPointer< IContributionItem > &item, const SmartPointer< Expression > &visibleWhen)=0
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::IContributionRoot::berryObjectMacro
berryObjectMacro(berry::IContributionRoot)
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::IContributionRoot::RegisterVisibilityForChild
virtual void RegisterVisibilityForChild(const SmartPointer< IContributionItem > &item, const SmartPointer< Expression > &visibleWhen)=0
berry::IContributionRoot
Definition:
berryIContributionRoot.h:31
berryObject.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
berryIContributionRoot.h
Generated on Tue Dec 24 2024 02:12:22 for Medical Imaging Interaction Toolkit by
1.8.17