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
berryIHandler.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
#ifndef BERRYIHANDLER_H_
18
#define BERRYIHANDLER_H_
19
20
#include <
berryMacros.h
>
21
#include <
berryObject.h
>
22
#include <
org_blueberry_core_commands_Export.h
>
23
24
namespace
berry
{
25
26
struct
IHandlerListener;
27
class
ExecutionEvent;
28
38
struct
BERRY_COMMANDS
IHandler
:
public
virtual
Object
39
{
40
41
berryObjectMacro
(
berry::IHandler
)
42
43
52
virtual
void
AddHandlerListener(
IHandlerListener
* handlerListener) = 0;
53
59
virtual
void
Dispose() = 0;
60
72
virtual
Object::Pointer
Execute(
const
SmartPointer<const ExecutionEvent>
& event) = 0;
73
82
virtual
void
SetEnabled(
const
Object::Pointer
& evaluationContext) = 0;
83
94
virtual
bool
IsEnabled()
const
= 0;
95
105
virtual
bool
IsHandled()
const
= 0;
106
117
virtual
void
RemoveHandlerListener(
IHandlerListener
* handlerListener) = 0;
118
119
120
};
121
122
}
123
124
Q_DECLARE_INTERFACE(
berry::IHandler
,
"org.blueberry.core.commands.IHandler"
)
125
126
#endif
/*BERRYIHANDLER_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IHandler
Definition:
berryIHandler.h:38
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berry::SmartPointer< Self >
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
berryObject.h
org_blueberry_core_commands_Export.h
berry::IHandlerListener
Definition:
berryIHandlerListener.h:41
git
MITK
Plugins
org.blueberry.core.commands
src
berryIHandler.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1