|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.ags.tasks.EditingTask
EditBean
@Deprecated public class EditingTask
The Editor Task boxes up all editing functionality for the web editor in the 9.2 release. The Editor Task is an addition to the WebMap and can be configured through manager. It is exposed in a WebApplication as a link on Task Bar.
| Field Summary | |
|---|---|
protected java.lang.String |
currentActionID
Deprecated. |
protected EditingResource |
editingResource
Deprecated. Editing map resource wrapper. |
protected EditingTaskInfo |
taskInfo
Deprecated. |
protected EditingSettings |
taskSettings
Deprecated. Snapping and selection settings |
protected EditingWorkspace |
workspace
Deprecated. Editing workspace wrapper. |
| Constructor Summary | |
|---|---|
EditingTask()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
activate()
Deprecated. Objects (context attributes, resources and functionalities) should perform setup tasks to ready themselves up to do user operations in this method. |
void |
addFeaturePoint(MapEvent event)
Deprecated. A task action to add Point feature. |
void |
addFeaturePolygon(MapEvent event)
Deprecated. A task action to add polygon feature. |
void |
addFeaturePolyline(MapEvent event)
Deprecated. A task action to add line feature. |
void |
addVertex(MapEvent event)
Deprecated. A task action to insert a vertex either along an existing segment, or between two existing vertices. |
boolean |
canAddFeatures()
Deprecated. Returns true if add attributes function is enabled. |
boolean |
canEditAttributes()
Deprecated. Returns true if edit attributes function is enabled. |
boolean |
canEditFeatures()
Deprecated. Returns true if edit features function is enabled. |
boolean |
canEnterFinalXY()
Deprecated. Returns true if can enter final XY value. |
boolean |
continueEnterXY()
Deprecated. Returns true if can continue enter XY value. |
void |
copyFeature(MapEvent event)
Deprecated. A task action to copy the feature by clicking anywhere on the map to locate the new feature. |
void |
deleteVertex(MapEvent event)
Deprecated. A task action to delete the selected vertex. |
void |
destroy()
Deprecated. The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in
this method. |
void |
enterXY(MapEvent event)
Deprecated. A task tool to build or modify geometry by entering XY values instead of using a Map Mouse click. |
void |
executeApplySettings()
Deprecated. A task tool to apply snapping settings. |
void |
executeClearSelection()
Deprecated. A task tool to clear all currently selected features. |
void |
executeCloseEditWindows()
Deprecated. A task tool to stop editing, discard unsaved edits, and close editing window. |
void |
executeContinueEnterXY()
Deprecated. A task action to add XY values. |
void |
executeDeleteFeature()
Deprecated. A task tool to delete the selected feature. |
void |
executeEnterFinalXY()
Deprecated. A task action to enter the last XY value. |
void |
executeEnterXY()
Deprecated. A task action to build or modify geometry by entering XY values instead of using a Map Mouse click. |
void |
executeFirst()
Deprecated. A task tool to move selection cursor to the first feature in queue. |
void |
executeHelp()
Deprecated. Provides content sensitive help instruction. |
void |
executeLast()
Deprecated. A task tool to move selection cursor to the last feature in queue. |
void |
executeMergeFeature()
Deprecated. A task tool to operates on a selection set at least two features must be selected. |
void |
executeNext()
Deprecated. A task tool to move selection cursor to the next feature in queue. |
void |
executePre()
Deprecated. A task tool to move selection cursor to the previous feature in queue. |
void |
executeRedo()
Deprecated. A task tool to redo edits |
void |
executeShowVertices()
Deprecated. A task tool to show vertices on selected feature. |
void |
executeStartEditing()
Deprecated. A task tool to turn the task to editing mode. |
void |
executeStopEditingDiscard()
Deprecated. A task tool to stop editing and discard all the changes. |
void |
executeStopEditingSave()
Deprecated. A task tool to stop and save all the edits. |
void |
executeUndo()
Deprecated. A task too to undo previous edit. |
protected void |
finalize()
Deprecated. |
TaskParamDescriptor[] |
getAttributesParams()
Deprecated. Creates task parameters for attributes editing. |
com.esri.adf.web.ags.tasks.EditingTask.EditingParamDescriptior[] |
getAttributesParms()
Deprecated. |
java.lang.String |
getAttributIDTitle()
Deprecated. A label property in the editing window. |
java.lang.String |
getCreateFeatureTitle()
Deprecated. A label property in the editing window. |
java.lang.String |
getCurrentActionID()
Deprecated. A hidden property getter. |
java.lang.String |
getDummy()
Deprecated. |
java.util.Map<java.lang.Object,java.lang.Object> |
getDummyList()
Deprecated. |
java.lang.String |
getEdgeLabel()
Deprecated. A label property in the settings window. |
java.lang.String |
getEditAttributesIndTitle()
Deprecated. A label property in the editing window. |
java.lang.String |
getEditAttributesTitle()
Deprecated. A label property in the editing window. |
java.lang.String |
getEditFeatureTitle()
Deprecated. A label property in the editing window. |
java.lang.String |
getEndLabel()
Deprecated. A label property in the settings window. |
java.lang.String |
getHelpInfo()
Deprecated. Gets the help information of the EditingTask. |
java.lang.String |
getHighlightColor()
Deprecated. Gets the highlight color, e.g. |
int |
getLayerId()
Deprecated. A task property "layerID". |
java.util.Map<java.lang.Integer,java.lang.String> |
getLayers()
Deprecated. A task property "layerID". |
java.lang.String |
getMapVersionID()
Deprecated. Gets user selected version. |
java.util.Map<java.lang.Integer,java.lang.String> |
getMapVersionList()
Deprecated. A task property "mapVersionID", a dropdown list. |
java.lang.String |
getShapeType()
Deprecated. A task property "shapeType". |
java.lang.String |
getSnappingLabel()
Deprecated. A label property in the settings window. |
java.lang.String |
getSnappingRulesLabel()
Deprecated. A label property in the settings window. |
java.lang.String |
getSnapTipsColor()
Deprecated. Gets the snapTipsColor of the EditingTask. |
int |
getSnapTolerance()
Deprecated. Gets snapping tolerance in pixels. |
java.lang.String |
getStatusMessage()
Deprecated. A task property "statusMessage" showing operation status. |
EditingConfig |
getTaskConfig()
Deprecated. Gets the task configuration. |
SimpleTaskInfo |
getTaskInfo()
Deprecated. Gets the task info of editing. |
java.lang.String |
getTaskName()
Deprecated. Sets task window title. |
EditingSettings |
getTaskSettings()
Deprecated. Gets settings for the snapping and feature selection. |
int |
getTolerance()
Deprecated. Gets search tolerance in pixels. |
java.lang.String |
getUnitLabel()
Deprecated. A label property in the settings window. |
java.lang.String |
getValueX()
Deprecated. Gets the valueX of the EditingTask. |
java.lang.String |
getValueY()
Deprecated. Gets the valueY of the EditingTask. |
java.lang.String |
getVersionTitle()
Deprecated. A label property in the editing window. |
java.lang.String |
getVertexLabel()
Deprecated. A label property in the settings window. |
java.lang.String |
getVerticesColor()
Deprecated. Gets the vertices color, e.g. |
java.lang.String |
getVerticesOutline()
Deprecated. Gets the outline color of vertices, e.g."255,255,0" |
int |
getVerticesShape()
Deprecated. Gets the shape of vertex. |
int |
getVerticesSize()
Deprecated. Gets the size of vertex. |
WebContext |
getWebContext()
Deprecated. Retrieves associated web context. |
java.lang.String |
getXyGeometyType()
Deprecated. Gets the geomety type of the tool operation. |
java.lang.String |
getXyLastPoint()
Deprecated. Gets the last entered point. |
boolean |
hasEdits()
Deprecated. Returns true if there are edits available. |
boolean |
hasNext()
Deprecated. Returns true when there are more selected features in the editing queue. |
boolean |
hasPre()
Deprecated. Returns true when the index of the selected feature is greater than 0. |
boolean |
hasRedo()
Deprecated. Returns true if redo is enabled. |
boolean |
hasSelection()
Deprecated. Returns true if there are selected features. |
boolean |
hasUndo()
Deprecated. Returns true if undo is enabled. |
boolean |
hasVertices()
Deprecated. Returns true when showing vertices on selected features. |
protected void |
init()
Deprecated. Initiated a Editing task. |
void |
init(WebContext context)
Deprecated. The initialization chores of attributes of a WebContext should be performed in this method. |
boolean |
isEditableStatus()
Deprecated. Returns true if task is in editing mode. |
boolean |
isSnapCircle()
Deprecated. Returns true when snapping circle is enabled. |
boolean |
isSnapEnabled()
Deprecated. Returns true is snapping is enabled. |
void |
moveFeature(MapEvent event)
Deprecated. A task action to re-locate the feature by clicking anywhere on the map. |
void |
moveVertex(MapEvent event)
Deprecated. A task tool to move an existing vertex. |
void |
passivate()
Deprecated. Objects (context attributes, resources and functionalities) should perform cleanup tasks after having performed user operations in this method. |
boolean |
pooledEditing()
Deprecated. Returns true if task is in pooled editing. |
void |
selectFeature(MapEvent event)
Deprecated. A task action. |
void |
setCurrentActionID(java.lang.String currentActionID)
Deprecated. A hidden property setter. |
void |
setDummy(java.lang.String dummy)
Deprecated. |
void |
setHelpInfo(java.lang.String helpInfo)
Deprecated. Sets the helpInfo of the EditingTask. |
void |
setHighlightColor(java.lang.String highlightColor)
Deprecated. Sets the highlight color, e.g. |
void |
setLayerId(int layerId)
Deprecated. A task property "layerID". |
void |
setMapVersionID(java.lang.String mapVersionID)
Deprecated. A task property "mapVersionID", a dropdown list. |
void |
setSnapCircle(boolean snapCircle)
Deprecated. Sets to true to show a circle when snapping. |
void |
setSnapEnabled(boolean enabled)
Deprecated. Only for GUI generation. |
void |
setSnapTipsColor(java.lang.String snapTipsColor)
Deprecated. Sets the snapTipsColor of the EditingTask. |
void |
setSnapTolerance(int tol)
Deprecated. Sets snapping tolerance in pixels. |
void |
setTaskConfig(EditingConfig config)
Deprecated. Sets the task configuration. |
void |
setTaskName(java.lang.String taskName)
Deprecated. Gets task window title. |
void |
setTolerance(int tolerance)
Deprecated. Sets search tolerance in pixels. |
void |
setValueX(java.lang.String valueX)
Deprecated. Sets the valueX of the EditingTask. |
void |
setValueY(java.lang.String valueY)
Deprecated. Sets the valueY of the EditingTask. |
void |
setVerticesColor(java.lang.String verticesColor)
Deprecated. Sets the vertices color, e.g. |
void |
setVerticesOutline(java.lang.String verticesOutline)
Deprecated. Sets the outline color of vertices, e.g."255,255,0" |
void |
setVerticesShape(int verticesShape)
Deprecated. Sets the shape of vertex. |
void |
setVerticesSize(int verticesSize)
Deprecated. Sets the size of vertex. |
void |
setWebContext(WebContext wContext)
Deprecated. Sets associated web context. |
java.lang.Object[] |
snapPoint(WebPoint point)
Deprecated. Returns snap result of the given point in screen reference system. |
void |
splitLine(MapEvent event)
Deprecated. A task tool allows the user to select a point along existing segment to split the line feature. |
void |
splitPolygon(MapEvent event)
Deprecated. A task action to sketch a line to split the polygon feature. |
void |
toFirst()
Deprecated. Sets the selection index to 0; |
void |
toLast()
Deprecated. Sets the selection index to the last feature in queue. |
boolean |
xyMode()
Deprecated. Returns true if it is in xy input mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EditingWorkspace workspace
protected EditingResource editingResource
protected java.lang.String currentActionID
protected EditingTaskInfo taskInfo
protected EditingSettings taskSettings
| Constructor Detail |
|---|
public EditingTask()
| Method Detail |
|---|
public void init(WebContext context)
WebContextInitialize
The initialization chores of attributes of a WebContext should be performed in this method.
Typically this method is called by the WebContext when the context itself is initialized. It is important
to note that this method is again called by the context when a GISResource is dynamically added to or
removed from the context. Classes that implement this method should keep this in mind and adapt the method to react
to the callbacks in these circumstances as well.
A WebContext attribute is usable only after this method has been called.
init in interface WebContextInitializecontext - WebContext- the WebContextWebContext.init(WebContext),
WebContext.addResource(String, GISResource, int),
WebContext.removeResource(GISResource)public void destroy()
WebContextInitialize
The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in
this method.
Typically this method is called by the WebContext when the context itself is destroyed.
The WebContext attribute is unusable after this method has been called.
destroy in interface WebContextInitializeWebContext.destroy()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic boolean isSnapCircle()
public void setSnapCircle(boolean snapCircle)
snapCircle - Sets to true to show a circle when snapping.public boolean isSnapEnabled()
public void setSnapEnabled(boolean enabled)
enabled - public java.lang.String getSnapTipsColor()
public void setSnapTipsColor(java.lang.String snapTipsColor)
snapTipsColor - The snapTipsColor to set.public EditingSettings getTaskSettings()
public SimpleTaskInfo getTaskInfo()
public WebContext getWebContext()
public void setWebContext(WebContext wContext)
wContext - public java.lang.String getTaskName()
public void setTaskName(java.lang.String taskName)
taskName - protected void init()
public int getLayerId()
public void setLayerId(int layerId)
layerId - public java.util.Map<java.lang.Integer,java.lang.String> getLayers()
public java.lang.String getStatusMessage()
public java.lang.String getShapeType()
public java.lang.String getXyGeometyType()
public java.lang.String getXyLastPoint()
public java.lang.String getCreateFeatureTitle()
public java.lang.String getEditFeatureTitle()
public java.lang.String getEditAttributesTitle()
public java.lang.String getEditAttributesIndTitle()
public java.lang.String getVersionTitle()
public java.lang.String getAttributIDTitle()
public java.lang.String getUnitLabel()
public java.lang.String getSnappingLabel()
public java.lang.String getSnappingRulesLabel()
public java.lang.String getVertexLabel()
public java.lang.String getEdgeLabel()
public java.lang.String getEndLabel()
public int getTolerance()
public void setTolerance(int tolerance)
tolerance - search tolerance in pixels.public int getSnapTolerance()
public void setSnapTolerance(int tol)
tol - public java.lang.String getVerticesColor()
public void setVerticesColor(java.lang.String verticesColor)
verticesColor - public java.lang.String getVerticesOutline()
public void setVerticesOutline(java.lang.String verticesOutline)
verticesOutline - public int getVerticesShape()
public void setVerticesShape(int verticesShape)
verticesShape - public int getVerticesSize()
public void setVerticesSize(int verticesSize)
verticesSize - public java.lang.String getHighlightColor()
public EditingConfig getTaskConfig()
public void setTaskConfig(EditingConfig config)
config - public void setHighlightColor(java.lang.String highlightColor)
highlightColor - public boolean hasNext()
public boolean hasPre()
public void toFirst()
public void toLast()
public void executeLast()
public void executeFirst()
public void executeNext()
public void executePre()
public void executeHelp()
public java.lang.String getMapVersionID()
public void setMapVersionID(java.lang.String mapVersionID)
mapVersionID - public java.util.Map<java.lang.Integer,java.lang.String> getMapVersionList()
public void executeStartEditing()
public void executeStopEditingSave()
public void executeStopEditingDiscard()
public void executeUndo()
public void executeRedo()
public void executeDeleteFeature()
public void executeMergeFeature()
public java.lang.Object[] snapPoint(WebPoint point)
point - the input point in screen reference system.
1. snap point in screen reference system or null. 2. snap layers String or null.
public void addFeaturePolygon(MapEvent event)
event - public void addFeaturePolyline(MapEvent event)
event - public void addFeaturePoint(MapEvent event)
event - public void selectFeature(MapEvent event)
event - public void moveFeature(MapEvent event)
event - public void copyFeature(MapEvent event)
event - public void splitLine(MapEvent event)
event - public void splitPolygon(MapEvent event)
event - public void executeClearSelection()
public void addVertex(MapEvent event)
event - public void moveVertex(MapEvent event)
event - public void deleteVertex(MapEvent event)
event - public void executeShowVertices()
public void enterXY(MapEvent event)
public void executeEnterXY()
public void executeContinueEnterXY()
public void executeEnterFinalXY()
public java.lang.String getValueX()
public void setValueX(java.lang.String valueX)
valueX - The valueX to set.public java.lang.String getValueY()
public void setValueY(java.lang.String valueY)
valueY - The valueY to set.public boolean isEditableStatus()
public boolean pooledEditing()
public boolean hasSelection()
public boolean continueEnterXY()
public boolean canEnterFinalXY()
public boolean hasVertices()
public boolean hasUndo()
public boolean hasRedo()
public boolean hasEdits()
public boolean xyMode()
public void executeCloseEditWindows()
public void executeApplySettings()
public boolean canAddFeatures()
public boolean canEditAttributes()
public boolean canEditFeatures()
public TaskParamDescriptor[] getAttributesParams()
@Deprecated public com.esri.adf.web.ags.tasks.EditingTask.EditingParamDescriptior[] getAttributesParms()
public java.lang.String getCurrentActionID()
public void setCurrentActionID(java.lang.String currentActionID)
public java.lang.String getHelpInfo()
public void activate()
WebLifecycleObjects (context attributes, resources and functionalities) should perform setup tasks to ready themselves up to do user operations in this method.
Typical setup tasks including (re)connecting to GIS servers and (re)hydrating server objects. This method is called
on context attributes and on resources by the WebContext when the context itself is activated. The resource
subsequently calls this method on its functionalities.
activate in interface WebLifecycleWebContext.activate()public void passivate()
WebLifecycleObjects (context attributes, resources and functionalities) should perform cleanup tasks after having performed user operations in this method.
Typical cleanup tasks including closing connections to GIS servers and dehydrating server objects. This method is
called on context attributes and on resources by the WebContext when the context itself is passivated. The
resource subsequently calls this method on its functionalities.
passivate in interface WebLifecycleWebContext.passivate()public void setHelpInfo(java.lang.String helpInfo)
helpInfo - The helpInfo to set.public void setDummy(java.lang.String dummy)
public java.lang.String getDummy()
public java.util.Map<java.lang.Object,java.lang.Object> getDummyList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||