} 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);
}
}