code: public void onChangeEditingState(GeometryEditChangeStateEvent event) {
  		switch (event.getEditingState()) {
  			case DRAGGING:
  				mapWidget.setCursor(Cursor.MOVE);
  				break;
  			case IDLE:
  			default:
  				mapWidget.setCursorString(mapWidget.getDefaultCursorString());
  				redraw();
  
  				// Remove the temporary insert move line:
  				if (editingService.getInsertIndex() != null) {
  					String id = baseName + "."
  							+ editingService.getIndexService().format(editingService.getInsertIndex());
  					Object parentGroup = groups.get(id.substring(0, id.lastIndexOf('.')) + ".edges");
  					mapWidget.getVectorContext().deleteElement(parentGroup, insertMoveEdgeId1);
  					mapWidget.getVectorContext().deleteElement(parentGroup, insertMoveEdgeId2);
  				}
  		}
  	}
docs: ------------------------------------------------------------------------