be.ugent.caagt.swirl.mouse
Class MouseToolCommand
ToggleCommand
be.ugent.caagt.swirl.mouse.MouseToolCommand
public class MouseToolCommand
extends ToggleCommand
Toggle command that installs a given mouse tool with a given mouse overlay.
Important note: work on this part of the Swirl library will be
discontinued because unfortunately newer versions
of the
GUI commands framework will no longer be available as
open source.
In due course this class will become deprecated and will eventually be
removed from the library.
void | handleSelection(boolean selected) - Installs the mouse tool onto the mouse overlay associated
with this action.
|
MouseToolCommand
public MouseToolCommand(CommandManager commandManager,
String id,
MouseOverlay overlay,
MouseTool tool)
Default constructor
handleSelection
public void handleSelection(boolean selected)
Installs the mouse tool onto the mouse overlay associated
with this action.