private IHandler commandHandler;
public void activate( EditToolHandler handler ) {
Command command = service.getCommand(COMMAND_ID);
IToolContext context = handler.getContext();
commandHandler=new SnapBehaviourCommandHandler(context.getMapDisplay(), context.getMap());
if (command != null)
command.setHandler(commandHandler);
}