|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.command.AbstractCommand
public abstract class AbstractCommand
TODO Purpose of net.refractions.udig.project.command
Constructor Summary | |
---|---|
AbstractCommand()
|
Method Summary | |
---|---|
Command |
copy()
Instantiates a new copy of the command that will operate in the same manner as the original command. |
Map |
getMap()
Returns the map if called during execute (or undo command is an undoable command) API mutable? |
void |
setMap(IMap map2)
Called when before the command is executed. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.refractions.udig.project.command.Command |
---|
getName, run |
Constructor Detail |
---|
public AbstractCommand()
Method Detail |
---|
public void setMap(IMap map2)
MapCommand
setMap
in interface MapCommand
map2
- The map executing the command.MapCommand.setMap(IMap)
public Map getMap()
MapCommand
getMap
in interface MapCommand
MapCommand.getMap()
public java.lang.String toString()
toString
in class java.lang.Object
public Command copy()
Command
copy
in interface Command
If the current command has already executed it cannot be used again, but a copy may because a copy should contain none of the state side-effect that execution has on a command
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |