protected void setRegionAsSelected(OMPolyRegion ompr) {
shapeDASelected.setTo(ompr.poly);
}
protected GeoPath getPathFromOMGraphic(OMGraphic omg) {
GeoPath path = null;
if (omg instanceof OMLine) {
path = getPath((OMLine) omg);
} else if (omg instanceof OMPoly) {
path = getPath((OMPoly) omg);