net.refractions.udig.project.command
Interface MapCommand

All Superinterfaces:
Command
All Known Subinterfaces:
EditCommand, EditManagerControlCommand, NavCommand, PostDeterminedEffectCommand, UndoableMapCommand
All Known Implementing Classes:
AbstractCommand, CompositeCommand, SetLayerVisibilityCommand, UndoableComposite, UndoRedoCommand

public interface MapCommand
extends Command

A command specific to modifying the state of a map.

Since:
1.0.0
Author:
Jesse

Method Summary
 Map getMap()
          Returns the map if called during execute (or undo command is an undoable command) API mutable?
 void setMap(IMap map)
          Called when before the command is executed.
 
Methods inherited from interface net.refractions.udig.project.command.Command
copy, getName, run
 

Method Detail

setMap

void setMap(IMap map)
Called when before the command is executed. API mutable?throw unsupportedexception?

Parameters:
map - The map executing the command.

getMap

Map getMap()
Returns the map if called during execute (or undo command is an undoable command) API mutable?

Returns:
the map if called during execute (or undo command is an undoable command)