this.mapDisplay=display;
this.map = map;
}
public Object execute( ExecutionEvent event ) throws ExecutionException {
SnapBehaviour previousBehaviour = PreferenceUtil.instance().getSnapBehaviour();
switch( previousBehaviour ) {
case OFF:
activator.hideGrid(map);
previousBehaviour=SnapBehaviour.CURRENT_LAYER;
break;