Package org.geomajas.gwt.client.controller.editing

Examples of org.geomajas.gwt.client.controller.editing.PolygonEditController


      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.LINESTRING) {
        controller.setController(new LineStringEditController(mapWidget, controller));
      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTILINESTRING) {
        controller.setController(new MultiLineStringEditController(mapWidget, controller));
      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.POLYGON) {
        controller.setController(new PolygonEditController(mapWidget, controller));
      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTIPOLYGON) {
        controller.setController(new MultiPolygonEditController(mapWidget, controller));
      }
      controller.setEditMode(EditMode.INSERT_MODE);
    }
View Full Code Here


      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.LINESTRING) {
        controller.setController(new LineStringEditController(mapWidget, controller));
      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTILINESTRING) {
        controller.setController(new MultiLineStringEditController(mapWidget, controller));
      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.POLYGON) {
        controller.setController(new PolygonEditController(mapWidget, controller));
      } else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTIPOLYGON) {
        controller.setController(new MultiPolygonEditController(mapWidget, controller));
      }
      controller.setEditMode(EditMode.DRAG_MODE);
    }
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.controller.editing.PolygonEditController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.