Class Tool.ActivationRequest
java.lang.Object
com.levigo.jadice.web.client.tool.Tool.ActivationRequest
- Enclosing class:
Tool
This class describes an auto-activation request issued by a tool in response to an event. Using
auto-activation requests, tools signal their readiness to be activated and perform some
meaningful task.
The task they intend to perform is detailed using the
activity
parameter. The latter may be resolved using a resource bundle and presented - for instance - in
a status bar in order to provide feedback to the user. Further feedback may be provided by-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
This priority indicates that theTool
's dispatch priority should be used to prioritize the activation request.static final int
The priority to be used to indicate that some action with a handle could be performed upon activation.static final int
The priority to be used to indicate that some action related to some kind of selection could be performed upon activation. -
Constructor Summary
ConstructorsConstructorDescriptionActivationRequest
(String activity) ActivationRequest
(String activity, com.google.gwt.dom.client.Style.Cursor cursor) ActivationRequest
(String activity, String cursor) -
Method Summary
-
Field Details
-
DEFAULT_ACTIVATION_PRIORITY
public static final int DEFAULT_ACTIVATION_PRIORITYThis priority indicates that theTool
's dispatch priority should be used to prioritize the activation request.- See Also:
-
OVER_HANDLE_PRIORITY
public static final int OVER_HANDLE_PRIORITYThe priority to be used to indicate that some action with a handle could be performed upon activation.- See Also:
-
OVER_SELECTION_PRIORITY
public static final int OVER_SELECTION_PRIORITYThe priority to be used to indicate that some action related to some kind of selection could be performed upon activation.- See Also:
-
-
Constructor Details
-
ActivationRequest
-
ActivationRequest
-
ActivationRequest
-
-
Method Details