mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
Merge branch 'bug3529' of ssh://trac@sapsailing.com/home/trac/git into bug3529
This commit is contained in:
commit
788af99f7e
1 file changed
+4
-7
+4
-7
@@ -40,20 +40,16 @@ import com.sap.sse.security.ui.settings.UserSettingsStorageManager;
|
||||
public class LeaderboardEntryPoint extends AbstractSailingEntryPoint {
|
||||
public static final long DEFAULT_REFRESH_INTERVAL_MILLIS = 3000l;
|
||||
|
||||
private final SettingsToUrlSerializer settingsToUrlSerializer = new SettingsToUrlSerializer();
|
||||
|
||||
private String leaderboardName;
|
||||
private String leaderboardGroupName;
|
||||
private LeaderboardType leaderboardType;
|
||||
private EventDTO event;
|
||||
|
||||
private UserSettingsStorageManager<PerspectiveCompositeSettings<LeaderboardPerspectiveOwnSettings>> settingsManager;
|
||||
|
||||
@Override
|
||||
protected void doOnModuleLoad() {
|
||||
super.doOnModuleLoad();
|
||||
|
||||
final LeaderboardContextSettings leaderboardContextSettings = settingsToUrlSerializer
|
||||
final LeaderboardContextSettings leaderboardContextSettings = new SettingsToUrlSerializer()
|
||||
.deserializeFromCurrentLocation(new LeaderboardContextSettings());
|
||||
|
||||
final UUID eventId = leaderboardContextSettings.getEventId();
|
||||
@@ -125,8 +121,9 @@ public class LeaderboardEntryPoint extends AbstractSailingEntryPoint {
|
||||
mainPanel.addNorth(header, 75);
|
||||
}
|
||||
|
||||
settingsManager = new UserSettingsStorageManager<>(getUserService(),
|
||||
UserSettingsStorageManager.buildContextDefinitionId("LeaderboardEntryPoint"), leaderboardName);
|
||||
final UserSettingsStorageManager<PerspectiveCompositeSettings<LeaderboardPerspectiveOwnSettings>> settingsManager = new UserSettingsStorageManager<>(
|
||||
getUserService(), UserSettingsStorageManager.buildContextDefinitionId("LeaderboardEntryPoint"),
|
||||
leaderboardName);
|
||||
|
||||
|
||||
ScrollPanel contentScrollPanel = new ScrollPanel();
|
||||
|
||||
Reference in new issue
Block a user