major refactoring of leaderboard settings regarding specification of races to show

This commit is contained in:
Axel Uhl
2012-03-10 00:47:44 +01:00
parent 3cba13dde8
commit a80c873e89
9 changed files with 122 additions and 50 deletions
@@ -17,11 +17,9 @@ public class LeaderboardPanelMock extends LeaderboardPanel {
public LeaderboardPanelMock(SailingServiceAsync sailingService,
String leaderboardName, ErrorReporter errorReporter,
StringMessages stringConstants) {
super(sailingService, LeaderboardSettingsFactory.getInstance()
.createNewDefaultSettings(
/* racesToShow */ null, /* autoExpandFirstRace */false), new CompetitorSelectionModel(/* hasMultiSelection */true),
leaderboardName, null, errorReporter, stringConstants, null);
// TODO Auto-generated constructor stub
super(sailingService, LeaderboardSettingsFactory.getInstance().createNewDefaultSettings(
/* racesToShow */null, /* namesOfRacesToShow */ null, /* autoExpandFirstRace */false), new CompetitorSelectionModel(
/* hasMultiSelection */true), leaderboardName, null, errorReporter, stringConstants, null);
}
@Override