helper.add(new ValidToolDetectionActivator(new Class[]{Geometry.class, Polygon.class, MultiPolygon.class, LineString.class, MultiLineString.class}));
}
@Override
protected void initActivators( Set<Activator> activators ) {
activators.add(new EditStateListenerActivator());
DrawGeomsActivator drawGeomsActivator = new DrawGeomsActivator(DrawGeomsActivator.DrawType.POLYGON);
drawGeomsActivator.setShowMouseLocation(false);
activators.add(drawGeomsActivator);
activators.add(new DrawEndPointsActivator());
activators.add(new SetRenderingFilter());