public interface EditingContext extends Observable
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL |
static java.lang.String |
CHANGE_SELECTED_TOOL_NOTIFICATION |
static java.lang.String |
DEFAULT_ACTION_NAME |
static java.lang.String |
DEFAULT_TOOL |
static java.lang.String |
DEFAULT_TOOL_NAME |
static int |
DISCARD_CHANGES |
static java.lang.String |
DRAWING_STATUS_NOTIFICATION |
static int |
DRAWMODE_NORMAL |
static int |
DRAWMODE_ORTO |
static int |
EXPORT_LAYER |
static java.lang.String |
EXPORT_LAYER_NOTIFICATION |
static java.lang.String |
REFRESH_TOOLS_NOTIFICATION |
static int |
SAVE_CHANGES |
static java.lang.String |
VECTOREDITING_TOOL_NAME |
Modifier and Type | Method and Description |
---|---|
void |
activateService(java.lang.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 |
cancelActiveService() |
void |
endEdition(FLyrVect layer)
Ends edition of a layer
|
EditingService |
getActiveService() |
EditingConsole |
getConsolePanel() |
SymbolTable |
getContextSymbolTable() |
Behavior[] |
getDefaultBehaviors() |
int |
getDrawMode() |
GeometryType |
getGeometryType() |
MapControl |
getMapControl()
Gets mapControl object.
|
boolean |
isProcessing() |
boolean |
isServiceCompatible(java.lang.String name) |
void |
nextParameter() |
Point |
parsePoint(java.lang.String coordinates) |
void |
setDefaultBehaviors(Behavior[] defaultBehaviors) |
void |
setDrawMode(int mode) |
void |
setMapControl(MapControl mapControl)
Updates the weak reference at editing context.
|
void |
setValue(EditingServiceParameter parameter,
java.lang.Object value) |
void |
setValue(EditingServiceParameter parameter,
java.lang.Object value,
boolean next) |
addObserver, deleteObserver, deleteObservers
static final int CANCEL
static final int DISCARD_CHANGES
static final int EXPORT_LAYER
static final int SAVE_CHANGES
static final java.lang.String DEFAULT_TOOL
static final java.lang.String DEFAULT_TOOL_NAME
static final java.lang.String DEFAULT_ACTION_NAME
static final java.lang.String VECTOREDITING_TOOL_NAME
static final java.lang.String CHANGE_SELECTED_TOOL_NOTIFICATION
static final java.lang.String REFRESH_TOOLS_NOTIFICATION
static final java.lang.String EXPORT_LAYER_NOTIFICATION
static final java.lang.String DRAWING_STATUS_NOTIFICATION
static final int DRAWMODE_NORMAL
static final int DRAWMODE_ORTO
void activateService(java.lang.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(java.lang.String name)
name
- void setMapControl(MapControl mapControl)
mapControl
- Behavior[] getDefaultBehaviors()
void setDefaultBehaviors(Behavior[] defaultBehaviors)
void setValue(EditingServiceParameter parameter, java.lang.Object value) throws InvalidEntryException
parameter
- value
- InvalidEntryException
void setValue(EditingServiceParameter parameter, java.lang.Object value, boolean next) throws InvalidEntryException
parameter
- value
- next
- If true call nextParameter methodInvalidEntryException
EditingService getActiveService()
Point parsePoint(java.lang.String coordinates) throws ParsePointException
ParsePointException
GeometryType getGeometryType()
SymbolTable getContextSymbolTable()
EditingConsole getConsolePanel()
void nextParameter()
void cancelActiveService()
boolean isProcessing()
int getDrawMode()
void setDrawMode(int mode)