private DrawEndPointsCommand drawEndPoints;
public void activate( final EditToolHandler handler ) {
drawEndPoints=new DrawEndPointsCommand( handler.getMouseTracker(), new CurrentProvider(handler) );
handler.getDrawCommands().add(drawEndPoints);
handler.getContext().sendASyncCommand(drawEndPoints); }