|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.command.BasicCommandFactory
public class BasicCommandFactory
Creates Edit commands which must be used to modify editable feature data. API internal classes are in the returned API
Constructor Summary | |
---|---|
protected |
BasicCommandFactory()
Deprecated. |
Method Summary | |
---|---|
UndoableMapCommand |
createAddLayer(ILayer layer)
Deprecated. Create an Add Layer command |
UndoableMapCommand |
createAddLayer(ILayer layer,
int index)
Deprecated. Create an Add Layer command |
UndoableMapCommand |
createChangeCRS(IMap map,
CoordinateReferenceSystem crs)
Deprecated. Create a Change CRS command |
UndoableMapCommand |
createDeleteLayer(ILayer layer)
Deprecated. Create a delete layer command |
static BasicCommandFactory |
getInstance()
Deprecated. Creates a new EditCommandFactory object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BasicCommandFactory()
Method Detail |
---|
public static BasicCommandFactory getInstance()
public UndoableMapCommand createDeleteLayer(ILayer layer)
map
- the map containing the layerlayer
- the layer to delete
DeleteLayerCommand
public UndoableMapCommand createAddLayer(ILayer layer)
layer
- the layer to add to the map.
AddLayerCommand
public UndoableMapCommand createAddLayer(ILayer layer, int index)
layer
- the layer to add to the map.index
- the zorder where the layer will be added.
AddLayerCommand
public UndoableMapCommand createChangeCRS(IMap map, CoordinateReferenceSystem crs)
map
- the map for which the CRS is going to change.
ChangeCRSCommand
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |