|
|
@ -313,11 +313,11 @@ public class VcsMovePanel extends BasicPane { |
|
|
|
VcsMovePanel.this.getParentCard().next(getParentPane()); |
|
|
|
VcsMovePanel.this.getParentCard().next(getParentPane()); |
|
|
|
VcsMoveStrategy strategy; |
|
|
|
VcsMoveStrategy strategy; |
|
|
|
if (moveDefaultButton.isSelected()) { |
|
|
|
if (moveDefaultButton.isSelected()) { |
|
|
|
strategy = VcsMoveStrategy.createNumStrategy((int) spinner.getValue()); |
|
|
|
strategy = VcsMoveStrategy.createStrategy((int) spinner.getValue()); |
|
|
|
} else if (moveNothingButton.isSelected()) { |
|
|
|
} else if (moveNothingButton.isSelected()) { |
|
|
|
strategy = VcsMoveStrategy.ALL_GIVE_UP; |
|
|
|
strategy = VcsMoveStrategy.createStrategy(0); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
strategy = VcsMoveStrategy.ALL_RETAIN; |
|
|
|
strategy = VcsMoveStrategy.createStrategy(Integer.MAX_VALUE); |
|
|
|
} |
|
|
|
} |
|
|
|
new MoveWorker(strategy).execute(); |
|
|
|
new MoveWorker(strategy).execute(); |
|
|
|
} |
|
|
|
} |
|
|
|