@SuppressWarnings("unchecked")
@Override
protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
helper.add( new SelectFeatureBehaviour(new Class[]{Polygon.class, MultiPolygon.class}, BBOX.class));
helper.add( new FreeHandPolygonDrawBehaviour() );
AcceptOnDoubleClickBehaviour doubleClickRunAcceptBehaviour = new AcceptOnDoubleClickBehaviour();
//doubleClickRunAcceptBehaviour.setAddPoint(false);
helper.add( doubleClickRunAcceptBehaviour );
helper.done();
}