Class Tool.ActivationRequest

Enclosing class:

public static class Tool.ActivationRequest extends Object
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 Details


      public static final int DEFAULT_ACTIVATION_PRIORITY
      This priority indicates that the Tool's dispatch priority should be used to prioritize the activation request.
      See Also:

      public static final int OVER_HANDLE_PRIORITY
      The priority to be used to indicate that some action with a handle could be performed upon activation.
      See Also:

      public static final int OVER_SELECTION_PRIORITY
      The 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

      public ActivationRequest(String activity)
    • ActivationRequest

      public ActivationRequest(String activity, cursor)
    • ActivationRequest

      public ActivationRequest(String activity, String cursor)
  • Method Details