public boolean isValid( EditToolHandler handler ) {
return handler.getCurrentShape()!=null && handler.getCurrentShape().getNumPoints()>0;
}
public UndoableMapCommand getCommand( EditToolHandler handler ) {
return new DifferenceFeatureCommand(handler, EditState.NONE);
}