mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 11:40:01 +00:00
Bug 4250: the last change affected too many calls of
EntryPointWithSettingsLinkFactory
This commit is contained in:
1 parent
4a934668cb
commit
9f6677b6ce
2 files changed
+7
-4
No files matched your search
Executable → Regular
+2
-1
@@ -232,7 +232,8 @@ public abstract class AbstractEventActivity<PLACE extends AbstractEventPlace> ex
|
||||
regattaRaceStatesSettings.getVisibleRegattaSettings().addValue(getRegattaId());
|
||||
}
|
||||
}
|
||||
return EntryPointWithSettingsLinkFactory.createRegattaOverviewLink(new RegattaOverviewContextDefinition(getCtx().getEventId()), regattaRaceStatesSettings);
|
||||
return EntryPointWithSettingsLinkFactory.createRegattaOverviewLink(
|
||||
new RegattaOverviewContextDefinition(getCtx().getEventId()), regattaRaceStatesSettings, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-3
@@ -12,6 +12,7 @@ import com.sap.sailing.gwt.settings.client.regattaoverview.RegattaRaceStatesSett
|
||||
import com.sap.sailing.gwt.ui.client.EntryPointLinkFactory;
|
||||
import com.sap.sse.common.settings.Settings;
|
||||
import com.sap.sse.gwt.client.shared.components.LinkWithSettingsGenerator;
|
||||
import com.sap.sse.gwt.client.shared.perspective.IgnoreLocalSettings;
|
||||
import com.sap.sse.gwt.client.shared.perspective.PerspectiveCompositeSettings;
|
||||
import com.sap.sse.gwt.settings.AbstractEntryPointWithSettingsLinkFactory;
|
||||
|
||||
@@ -27,12 +28,13 @@ public class EntryPointWithSettingsLinkFactory extends AbstractEntryPointWithSet
|
||||
private static final String REGATTA_OVERVIEW_PATH = "/gwt/RegattaOverview.html";
|
||||
|
||||
public static String createRegattaOverviewLink(RegattaOverviewContextDefinition regattaOverviewSettings) {
|
||||
return createRegattaOverviewLink(regattaOverviewSettings, new RegattaRaceStatesSettings());
|
||||
return createRegattaOverviewLink(regattaOverviewSettings, new RegattaRaceStatesSettings(), true);
|
||||
}
|
||||
|
||||
public static String createRegattaOverviewLink(RegattaOverviewContextDefinition regattaOverviewSettings,
|
||||
RegattaRaceStatesSettings regattaRaceStatesSettings) {
|
||||
return new LinkWithSettingsGenerator<>(REGATTA_OVERVIEW_PATH, regattaOverviewSettings).createUrl(regattaRaceStatesSettings);
|
||||
RegattaRaceStatesSettings regattaRaceStatesSettings, boolean ignoreLocalSettings) {
|
||||
return new LinkWithSettingsGenerator<>(REGATTA_OVERVIEW_PATH, regattaOverviewSettings,
|
||||
new IgnoreLocalSettings(ignoreLocalSettings)).createUrl(regattaRaceStatesSettings);
|
||||
}
|
||||
|
||||
public static String createLeaderboardLink(LeaderboardContextDefinition contextDefinition, LeaderboardPerspectiveOwnSettings perspectiveOwnSettings) {
|
||||
|
||||
Reference in new issue
Block a user