code: private void createTempLine(FeatureTransaction featureTransaction, MouseEvent<?> event) {
  		if (featureTransaction.getNewFeatures() != null && featureTransaction.getNewFeatures().length > 0
  				&& tempLine == null) {
  			Coordinate position = getPanPosition(event);
  			LineString lineString = getGeometryIndex().getGeometry(featureTransaction).getGeometryFactory()
  					.createLineString(new Coordinate[] { position, position });
  			tempLine = new GfxGeometry("LineStringEditController.updateLine");
  			tempLine.setGeometry(lineString);
  			tempLine.setStyle(new ShapeStyle("#FFFFFF", 0, "#FF3322", 1, 1));
  			mapWidget.render(tempLine, RenderGroup.VECTOR, RenderStatus.ALL);
  		}
  	}
docs: Private methods: