| A MapCommand in uDig describes an action that modifies the system's model.
Commands are single fire objects. They cannot be used more than once. This is to allow undoable
commands to be a normal command, not a special case command.
Commands normally have factories associated with them, but they are also prototypes. The copy
method returns a new MapCommand without the undo data. The new MapCommand can safely be executed
with no negative side-effects.
See Also: net.refractions.udig.project.command.factory.NavigationCommandFactory See Also: A set of possible command See Also: categories are: zoom, pan, cut, paste, addVertex, etc.. Most commands are associated with See Also: tool whose job is to construct the commands. A MapCommand object describes an concrete See Also: change, for example: setBBox(0,0,1,1); setBBox(2,2,3,3) would be a seperate object. author: jeichar |