Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryIHandlerActivation.h>
Public Member Functions | |
berryObjectMacro (berry::IHandlerActivation)~IHandlerActivation() | |
virtual void | ClearActive ()=0 |
virtual QString | GetCommandId () const =0 |
virtual int | GetDepth () const =0 |
virtual SmartPointer< IHandler > | GetHandler () const =0 |
virtual IHandlerService * | GetHandlerService () const =0 |
Static Public Attributes | |
static const int | ROOT_DEPTH |
A token representing the activation of a handler. This token can later be used to cancel that activation. Without this token, then handler will only become inactive if the component in which the handler was activated is destroyed.
This interface is not intended to be implemented or extended by clients.
Definition at line 44 of file berryIHandlerActivation.h.
berry::IHandlerActivation::berryObjectMacro | ( | berry::IHandlerActivation | ) |
|
pure virtual |
Clears the cached computation of the isActive
method, if any. This method is only intended for internal use. It provides a mechanism by which ISourceProvider
events can invalidate state on a IHandlerActivation
instance.
|
pure virtual |
Returns the identifier of the command whose handler is being activated.
null
.
|
pure virtual |
Returns the depth at which this activation was created within the services hierarchy. The root of the hierarchy is at a depth of 1
. This is used as the final tie-breaker in the event that no other method can be used to determine a winner.
|
pure virtual |
Returns the handler that should be activated.
null
.
|
pure virtual |
Returns the handler service from which this activation was requested. This is used to ensure that an activation can only be retracted from the same service which issued it.
null
.
|
static |
The depth at which the root exists.
Definition at line 54 of file berryIHandlerActivation.h.