public class

CommandQueue

extends Object
java.lang.Object
   ↳ vars.annotation.ui.commandqueue.CommandQueue

Class Overview

The command queue processes commands in the order received. Commands are send via EventBus as CommandEvents. There are 2 types of CommandEvents, DoCommmandEvent and UndoCommandEvent. For all practical purposes components should use only the DoCommandEvent; the UndoCommandEvent is mainly for internal use only. Other events that the command queue listens for are:

Summary

Public Constructors
CommandQueue(ToolBelt toolBelt)
Constructs ...
Public Methods
void clear(ClearCommandQueueEvent event)
void queueCommand(CommandEvent event)
void redo(RedoEvent event)
void undo(UndoEvent event)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CommandQueue (ToolBelt toolBelt)

Constructs ...

Public Methods

public void clear (ClearCommandQueueEvent event)

public void queueCommand (CommandEvent event)

public void redo (RedoEvent event)

public void undo (UndoEvent event)