|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditManager
Defines and implements controllers a map. The EditManager is the central piece and has the following functionality:
Transactions and locks are also part of map core.
Method Summary | |
---|---|
void |
addListener(IEditManagerListener listener)
Adds a EditManager Listener |
boolean |
containsListener(IEditManagerListener listener)
Checks containment of the spesified EditManager listener in the list of already existing listeners. |
Feature |
getEditFeature()
Gets the Feature that that is currently being edited. |
ILayer |
getEditLayer()
The layer that contains the edit features. |
IMap |
getMap()
Returns the map this EditManager is associated with |
ILayer |
getSelectedLayer()
Returns the layer that is "currently" selected. |
boolean |
isEditing()
Returns true if there is a currently active transaction (editing has occured and not been committed). |
boolean |
isEditLayerLocked()
Indicates whether the editlayer can be changed. |
void |
removeListener(IEditManagerListener listener)
Removes a EditManager Listener |
Method Detail |
---|
IMap getMap()
Feature getEditFeature()
Returns null if there is currently no edit feature. This is different from the current selection. Each layer has a selection that may contain many features but there is only only feature that can be editted at one time.
ILayer getEditLayer()
boolean isEditLayerLocked()
ILayer getSelectedLayer()
boolean isEditing()
void addListener(IEditManagerListener listener)
listener
- the new listener.void removeListener(IEditManagerListener listener)
listener
- the listener to removeboolean containsListener(IEditManagerListener listener)
listener
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |