public interface EditingContext extends Observable
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL |
static String |
CHANGE_SELECTED_TOOL_NOTIFICATION |
static String |
DEFAULT_TOOL |
static int |
DISCARD_CHANGES |
static int |
EXPORT_LAYER |
static String |
EXPORT_LAYER_NOTIFICATION |
static String |
REFRESH_TOOLS_NOTIFICATION |
static int |
SAVE_CHANGES |
Modifier and Type | Method and Description |
---|---|
void |
activateService(String name)
Activates service as of name and
MapControl |
void |
beginEdition(FLyrVect layer)
Begins edition of a layer
|
void |
beginEdition(FLyrVect layer,
Behavior[] additionalBehaviors)
Deprecated.
|
void |
endEdition(FLyrVect layer)
Ends edition of a layer
|
Behavior[] |
getDefaultBehaviors() |
MapControl |
getMapControl()
Gets mapControl object.
|
boolean |
isServiceCompatible(String name) |
void |
setDefaultBehaviors(Behavior[] defaultBehaviors) |
void |
setMapControl(MapControl mapControl)
Updates the weak reference at editing context.
|
addObserver, deleteObserver, deleteObservers
static final int CANCEL
static final int DISCARD_CHANGES
static final int EXPORT_LAYER
static final int SAVE_CHANGES
static final String DEFAULT_TOOL
static final String CHANGE_SELECTED_TOOL_NOTIFICATION
static final String REFRESH_TOOLS_NOTIFICATION
static final String EXPORT_LAYER_NOTIFICATION
void activateService(String name)
MapControl
name
- of servicemapControl
- ofvoid beginEdition(FLyrVect layer, Behavior[] additionalBehaviors)
beginEdition(FLyrVect)
void beginEdition(FLyrVect layer)
layer
- to begin editionvoid endEdition(FLyrVect layer)
layer
- to end editionMapControl getMapControl()
WeakReference
.boolean isServiceCompatible(String name)
name
- void setMapControl(MapControl mapControl)
mapControl
- Behavior[] getDefaultBehaviors()
void setDefaultBehaviors(Behavior[] defaultBehaviors)