mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Using HasMobileVersion instead of MobileSupport for places that are
always available on mobile but could formerly be deactivated by a ExperimentalFeatures flag
This commit is contained in:
1 parent
963596b8a3
commit
862e685756
3 files changed
+6
-21
No files matched your search
+2
-7
@@ -2,12 +2,12 @@ package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.mediatab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.MobileSupport;
|
||||
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.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
|
||||
public class MultiregattaMediaPlace extends AbstractMultiregattaEventPlace implements MobileSupport {
|
||||
public class MultiregattaMediaPlace extends AbstractMultiregattaEventPlace implements HasMobileVersion {
|
||||
public MultiregattaMediaPlace(String id) {
|
||||
super(id);
|
||||
}
|
||||
@@ -23,9 +23,4 @@ public class MultiregattaMediaPlace extends AbstractMultiregattaEventPlace imple
|
||||
return new MultiregattaMediaPlace(context);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasMobileVersion() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
+2
-7
@@ -2,12 +2,12 @@ package com.sap.sailing.gwt.home.desktop.places.event.regatta.mediatab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.MobileSupport;
|
||||
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.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
|
||||
public class RegattaMediaPlace extends AbstractEventRegattaPlace implements MobileSupport {
|
||||
public class RegattaMediaPlace extends AbstractEventRegattaPlace implements HasMobileVersion {
|
||||
public RegattaMediaPlace(String id, String regattaId) {
|
||||
super(id, regattaId);
|
||||
}
|
||||
@@ -29,9 +29,4 @@ public class RegattaMediaPlace extends AbstractEventRegattaPlace implements Mobi
|
||||
return new RegattaMediaPlace(context);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasMobileVersion() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
+2
-7
@@ -2,12 +2,12 @@ package com.sap.sailing.gwt.home.desktop.places.event.regatta.racestab;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.MobileSupport;
|
||||
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.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
|
||||
public class RegattaRacesPlace extends AbstractEventRegattaPlace implements MobileSupport {
|
||||
public class RegattaRacesPlace extends AbstractEventRegattaPlace implements HasMobileVersion {
|
||||
public RegattaRacesPlace(String id, String leaderboardName) {
|
||||
super(id, leaderboardName);
|
||||
}
|
||||
@@ -28,9 +28,4 @@ public class RegattaRacesPlace extends AbstractEventRegattaPlace implements Mobi
|
||||
return new RegattaRacesPlace(context);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasMobileVersion() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user