Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
berryIHandler.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
#ifndef BERRYIHANDLER_H_
14
#define BERRYIHANDLER_H_
15
16
#include <
berryMacros.h
>
17
#include <
berryObject.h
>
18
#include <
org_blueberry_core_commands_Export.h
>
19
20
namespace
berry
{
21
22
struct
IHandlerListener;
23
class
ExecutionEvent;
24
34
struct
BERRY_COMMANDS
IHandler
:
public
virtual
Object
35
{
36
37
berryObjectMacro
(
berry::IHandler
);
38
48
virtual
void
AddHandlerListener(
IHandlerListener
* handlerListener) = 0;
49
55
virtual
void
Dispose() = 0;
56
68
virtual
Object::Pointer
Execute(
const
SmartPointer<const ExecutionEvent>
& event) = 0;
69
78
virtual
void
SetEnabled(
const
Object::Pointer
& evaluationContext) = 0;
79
90
virtual
bool
IsEnabled()
const
= 0;
91
101
virtual
bool
IsHandled()
const
= 0;
102
113
virtual
void
RemoveHandlerListener(
IHandlerListener
* handlerListener) = 0;
114
115
116
};
117
118
}
119
120
Q_DECLARE_INTERFACE(
berry::IHandler
,
"org.blueberry.core.commands.IHandler"
)
121
122
#endif
/*BERRYIHANDLER_H_*/
berry::IHandler
Definition:
berryIHandler.h:34
org_blueberry_core_commands_Export.h
berryMacros.h
berry::SmartPointer< Self >
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:26
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::IHandlerListener
Definition:
berryIHandlerListener.h:37
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
berryObject.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.commands
src
berryIHandler.h
Generated on Thu Nov 30 2023 15:58:48 for Medical Imaging Interaction Toolkit by
1.8.17