mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
Refactoring - Moved shared PlaceTokenPrefixes constants into respective
package
This commit is contained in:
1 parent
fde1ddbc36
commit
ec8498f549
18 files changed
+46
-45
No files matched your search
+2
-1
@@ -2,6 +2,7 @@ package com.sap.sailing.gwt.home.client.place.event;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class EventDefaultPlace extends AbstractEventPlace implements HasMobileVersion {
|
||||
|
||||
@@ -13,7 +14,7 @@ public class EventDefaultPlace extends AbstractEventPlace implements HasMobileVe
|
||||
super(eventUuidAsString);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventDefault)
|
||||
@Prefix(PlaceTokenPrefixes.EventDefault)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<EventDefaultPlace> {
|
||||
@Override
|
||||
protected EventDefaultPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.ExperimentalFeatures;
|
||||
import com.sap.sailing.gwt.home.shared.app.MobileSupport;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class MultiregattaMediaPlace extends AbstractMultiregattaEventPlace implements MobileSupport {
|
||||
public MultiregattaMediaPlace(String id) {
|
||||
@@ -17,7 +17,7 @@ public class MultiregattaMediaPlace extends AbstractMultiregattaEventPlace imple
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.MultiregattaMedia)
|
||||
@Prefix(PlaceTokenPrefixes.MultiregattaMedia)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<MultiregattaMediaPlace> {
|
||||
@Override
|
||||
protected MultiregattaMediaPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -3,9 +3,9 @@ package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class MultiregattaOverviewPlace extends AbstractMultiregattaEventPlace implements HasMobileVersion {
|
||||
public MultiregattaOverviewPlace(String id) {
|
||||
@@ -16,7 +16,7 @@ public class MultiregattaOverviewPlace extends AbstractMultiregattaEventPlace im
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.MultiregattaOverview)
|
||||
@Prefix(PlaceTokenPrefixes.MultiregattaOverview)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<MultiregattaOverviewPlace> {
|
||||
@Override
|
||||
protected MultiregattaOverviewPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class MultiregattaRegattasPlace extends AbstractMultiregattaEventPlace {
|
||||
public MultiregattaRegattasPlace(String id) {
|
||||
@@ -15,7 +15,7 @@ public class MultiregattaRegattasPlace extends AbstractMultiregattaEventPlace {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.MultiregattaRegattas)
|
||||
@Prefix(PlaceTokenPrefixes.MultiregattaRegattas)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<MultiregattaRegattasPlace> {
|
||||
@Override
|
||||
protected MultiregattaRegattasPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class RegattaCompetitorAnalyticsPlace extends AbstractEventRegattaPlace {
|
||||
public RegattaCompetitorAnalyticsPlace(String id, String regattaId) {
|
||||
@@ -20,7 +20,7 @@ public class RegattaCompetitorAnalyticsPlace extends AbstractEventRegattaPlace {
|
||||
return new RegattaCompetitorAnalyticsPlace(ctx);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.RegattaCompetitorAnalytics)
|
||||
@Prefix(PlaceTokenPrefixes.RegattaCompetitorAnalytics)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<RegattaCompetitorAnalyticsPlace> {
|
||||
|
||||
@Override
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class RegattaLeaderboardPlace extends AbstractEventRegattaPlace {
|
||||
public RegattaLeaderboardPlace(String id, String regattaId) {
|
||||
@@ -20,7 +20,7 @@ public class RegattaLeaderboardPlace extends AbstractEventRegattaPlace {
|
||||
return new RegattaLeaderboardPlace(ctx);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.RegattaLeaderboard)
|
||||
@Prefix(PlaceTokenPrefixes.RegattaLeaderboard)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<RegattaLeaderboardPlace> {
|
||||
@Override
|
||||
protected RegattaLeaderboardPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.ExperimentalFeatures;
|
||||
import com.sap.sailing.gwt.home.shared.app.MobileSupport;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class RegattaMediaPlace extends AbstractEventRegattaPlace implements MobileSupport {
|
||||
public RegattaMediaPlace(String id, String regattaId) {
|
||||
@@ -22,7 +22,7 @@ public class RegattaMediaPlace extends AbstractEventRegattaPlace implements Mobi
|
||||
return new RegattaMediaPlace(ctx);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.RegattaMedia)
|
||||
@Prefix(PlaceTokenPrefixes.RegattaMedia)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<RegattaMediaPlace> {
|
||||
|
||||
@Override
|
||||
|
||||
+2
-2
@@ -3,9 +3,9 @@ package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class RegattaOverviewPlace extends AbstractEventRegattaPlace implements HasMobileVersion {
|
||||
public RegattaOverviewPlace(String id, String regattaId) {
|
||||
@@ -21,7 +21,7 @@ public class RegattaOverviewPlace extends AbstractEventRegattaPlace implements H
|
||||
return new RegattaOverviewPlace(ctx);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.RegattaOverview)
|
||||
@Prefix(PlaceTokenPrefixes.RegattaOverview)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<RegattaOverviewPlace> {
|
||||
|
||||
@Override
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.ExperimentalFeatures;
|
||||
import com.sap.sailing.gwt.home.shared.app.MobileSupport;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class RegattaRacesPlace extends AbstractEventRegattaPlace implements MobileSupport {
|
||||
public RegattaRacesPlace(String id, String leaderboardName) {
|
||||
@@ -22,7 +22,7 @@ public class RegattaRacesPlace extends AbstractEventRegattaPlace implements Mobi
|
||||
return new RegattaRacesPlace(ctx);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.RegattaRaces)
|
||||
@Prefix(PlaceTokenPrefixes.RegattaRaces)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<RegattaRacesPlace> {
|
||||
@Override
|
||||
protected RegattaRacesPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package com.sap.sailing.gwt.home.desktop.places.fakeseries.analyticstab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.desktop.places.fakeseries.AbstractSeriesTabPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesContext;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class EventSeriesCompetitorAnalyticsPlace extends AbstractSeriesTabPlace
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventSeriesCompetitorAnalytics)
|
||||
@Prefix(PlaceTokenPrefixes.EventSeriesCompetitorAnalytics)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<EventSeriesCompetitorAnalyticsPlace> {
|
||||
@Override
|
||||
protected EventSeriesCompetitorAnalyticsPlace getRealPlace(SeriesContext context) {
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package com.sap.sailing.gwt.home.desktop.places.fakeseries.eventstab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.desktop.places.fakeseries.AbstractSeriesTabPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesContext;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class SeriesEventsPlace extends AbstractSeriesTabPlace {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.SeriesEvents)
|
||||
@Prefix(PlaceTokenPrefixes.SeriesEvents)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<SeriesEventsPlace> {
|
||||
|
||||
@Override
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package com.sap.sailing.gwt.home.desktop.places.fakeseries.leaderboardstab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.desktop.places.fakeseries.AbstractSeriesTabPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesContext;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class EventSeriesLeaderboardsPlace extends AbstractSeriesTabPlace {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventSeriesLeaderboards)
|
||||
@Prefix(PlaceTokenPrefixes.EventSeriesLeaderboards)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<EventSeriesLeaderboardsPlace> {
|
||||
@Override
|
||||
protected EventSeriesLeaderboardsPlace getRealPlace(SeriesContext context) {
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package com.sap.sailing.gwt.home.desktop.places.fakeseries.overallleaderboardtab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.desktop.places.fakeseries.AbstractSeriesTabPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesContext;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class EventSeriesOverallLeaderboardPlace extends AbstractSeriesTabPlace {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventSeriesOverallLeaderboard)
|
||||
@Prefix(PlaceTokenPrefixes.EventSeriesOverallLeaderboard)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<EventSeriesOverallLeaderboardPlace> {
|
||||
@Override
|
||||
protected EventSeriesOverallLeaderboardPlace getRealPlace(SeriesContext context) {
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.common.client.i18n.TextMessages;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.news.NewsEntryDTO;
|
||||
|
||||
public class LatestNewsPlace extends AbstractEventPlace implements HasMobileVersion {
|
||||
@@ -41,7 +41,7 @@ public class LatestNewsPlace extends AbstractEventPlace implements HasMobileVers
|
||||
return TextMessages.INSTANCE.headerLogo();
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventNews)
|
||||
@Prefix(PlaceTokenPrefixes.EventNews)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<LatestNewsPlace> {
|
||||
@Override
|
||||
protected LatestNewsPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package com.sap.sailing.gwt.home.mobile.places.event.minileaderboard;
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasLocationTitle;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
public class MiniLeaderboardPlace extends AbstractEventRegattaPlace implements HasLocationTitle, HasMobileVersion {
|
||||
public MiniLeaderboardPlace(String id, String regattaId) {
|
||||
@@ -22,7 +22,7 @@ public class MiniLeaderboardPlace extends AbstractEventRegattaPlace implements H
|
||||
return new MiniLeaderboardPlace(ctx);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.RegattaMiniLeaderboard)
|
||||
@Prefix(PlaceTokenPrefixes.RegattaMiniLeaderboard)
|
||||
public static class Tokenizer extends AbstractEventPlace.Tokenizer<MiniLeaderboardPlace> {
|
||||
@Override
|
||||
protected MiniLeaderboardPlace getRealPlace(EventContext context) {
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@ package com.sap.sailing.gwt.home.mobile.places.series.minileaderboard;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.common.client.i18n.TextMessages;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasLocationTitle;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesContext;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class SeriesMiniOverallLeaderboardPlace extends AbstractSeriesPlace imple
|
||||
return TextMessages.INSTANCE.series();
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventSeriesMiniOverallLeaderboard)
|
||||
@Prefix(PlaceTokenPrefixes.EventSeriesMiniOverallLeaderboard)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<SeriesMiniOverallLeaderboardPlace> {
|
||||
@Override
|
||||
protected SeriesMiniOverallLeaderboardPlace getRealPlace(SeriesContext context) {
|
||||
|
||||
+12
-12
@@ -1,25 +1,25 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event;
|
||||
package com.sap.sailing.gwt.home.shared.places;
|
||||
|
||||
|
||||
public class EventPrefixes {
|
||||
public class PlaceTokenPrefixes {
|
||||
|
||||
public static final String EventDefault = "/event/";
|
||||
public static final String MultiregattaOverview = "/multiregatta/overview/";
|
||||
public static final String MultiregattaRegattas = "/multiregatta/regattas/";
|
||||
public static final String MultiregattaMedia = "/multiregatta/media/";
|
||||
public static final String EventNews = "/event/news/";
|
||||
|
||||
public static final String RegattaOverview = "/regatta/overview/";
|
||||
public static final String RegattaRaces = "/regatta/races/";
|
||||
public static final String RegattaLeaderboard = "/regatta/leaderboard/";
|
||||
public static final String RegattaMiniLeaderboard = "/regatta/minileaderboard/";
|
||||
public static final String RegattaCompetitorAnalytics = "/regatta/competitoranalytics/";
|
||||
public static final String RegattaMedia = "/regatta/media/";
|
||||
public static final String RegattaMiniLeaderboard = "/regatta/minileaderboard/";
|
||||
|
||||
public static final String MultiregattaOverview = "/multiregatta/overview/";
|
||||
public static final String MultiregattaRegattas = "/multiregatta/regattas/";
|
||||
public static final String MultiregattaMedia = "/multiregatta/media/";
|
||||
|
||||
public static final String SeriesDefault = "/series/";
|
||||
public static final String SeriesOverview = "/series/overview/";
|
||||
public static final String SeriesEvents = "/series/events/";
|
||||
public static final String EventSeriesCompetitorAnalytics = "/series/competitoranalytics/";
|
||||
public static final String EventSeriesOverallLeaderboard = "/series/overallleaderboard/";
|
||||
public static final String EventSeriesMiniOverallLeaderboard = "/series/minioverallleaderboard/";
|
||||
public static final String EventSeriesLeaderboards = "/series/leaderboards/";
|
||||
public static final String EventSeriesMedia = "/series/media/";
|
||||
public static final String EventNews = "/event/news/";
|
||||
public static final String EventSeriesCompetitorAnalytics = "/series/competitoranalytics/";
|
||||
public static final String EventSeriesMiniOverallLeaderboard = "/series/minioverallleaderboard/";
|
||||
}
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package com.sap.sailing.gwt.home.shared.places.fakeseries;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
import com.sap.sailing.gwt.home.shared.places.PlaceTokenPrefixes;
|
||||
|
||||
|
||||
public class SeriesDefaultPlace extends AbstractSeriesPlace implements HasMobileVersion {
|
||||
@@ -15,7 +15,7 @@ public class SeriesDefaultPlace extends AbstractSeriesPlace implements HasMobile
|
||||
super(eventUuidAsString);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.SeriesDefault)
|
||||
@Prefix(PlaceTokenPrefixes.SeriesDefault)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<SeriesDefaultPlace> {
|
||||
@Override
|
||||
protected SeriesDefaultPlace getRealPlace(SeriesContext context) {
|
||||
|
||||
Reference in new issue
Block a user