mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
Merge remote-tracking branch 'origin/design2015-refactoring' into design2015
This commit is contained in:
commit
459c251aad
220 files changed
+612
-981
No files matched your search
-110
@@ -1,110 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.fakeseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import com.google.gwt.activity.shared.AbstractActivity;
|
||||
import com.google.gwt.core.shared.GWT;
|
||||
import com.google.gwt.place.shared.Place;
|
||||
import com.google.gwt.safehtml.shared.SafeUri;
|
||||
import com.google.gwt.safehtml.shared.UriUtils;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.legacy.SeriesClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.shared.app.ApplicationHistoryMapper;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.ui.shared.media.MediaDTO;
|
||||
import com.sap.sse.gwt.client.mvp.ErrorView;
|
||||
|
||||
public abstract class AbstractSeriesActivity<PLACE extends AbstractSeriesPlace> extends AbstractActivity implements SeriesView.Presenter {
|
||||
|
||||
protected final PLACE currentPlace;
|
||||
protected final SeriesContext ctx;
|
||||
protected final SeriesClientFactory clientFactory;
|
||||
|
||||
protected final DesktopPlacesNavigator homePlacesNavigator;
|
||||
|
||||
private static final ApplicationHistoryMapper historyMapper = GWT.create(ApplicationHistoryMapper.class);
|
||||
|
||||
public AbstractSeriesActivity(PLACE place, SeriesClientFactory clientFactory, DesktopPlacesNavigator homePlacesNavigator) {
|
||||
this.currentPlace = place;
|
||||
this.ctx = new SeriesContext(place.getCtx());
|
||||
this.clientFactory = clientFactory;
|
||||
this.homePlacesNavigator = homePlacesNavigator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SeriesContext getCtx() {
|
||||
return ctx;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleTabPlaceSelection(TabView<?, ? extends SeriesView.Presenter> selectedActivity) {
|
||||
Place tabPlaceToGo = selectedActivity.placeToFire();
|
||||
clientFactory.getPlaceController().goTo(tabPlaceToGo);
|
||||
}
|
||||
|
||||
public void navigateTo(Place place) {
|
||||
clientFactory.getPlaceController().goTo(place);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SafeUri getUrl(AbstractSeriesPlace place) {
|
||||
String token = historyMapper.getToken(place);
|
||||
return UriUtils.fromString("#" + token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlaceNavigation<StartPlace> getHomeNavigation() {
|
||||
return homePlacesNavigator.getHomeNavigation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlaceNavigation<EventsPlace> getEventsNavigation() {
|
||||
return homePlacesNavigator.getEventsNavigation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlaceNavigation<EventDefaultPlace> getEventNavigation(UUID eventId) {
|
||||
return homePlacesNavigator.getEventNavigation(eventId.toString(), null, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlaceNavigation<SeriesDefaultPlace> getCurrentEventSeriesNavigation() {
|
||||
return homePlacesNavigator.getEventSeriesNavigation(ctx.getSeriesId(), null, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ensureMedia(final AsyncCallback<MediaDTO> callback) {
|
||||
if(ctx.getMedia() != null) {
|
||||
callback.onSuccess(ctx.getMedia());
|
||||
return;
|
||||
}
|
||||
clientFactory.getHomeService().getMediaForEventSeries(ctx.getSeriesDTO().getId(), new AsyncCallback<MediaDTO>() {
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
// TODO @FM: extract error message
|
||||
ErrorView errorView = clientFactory.createErrorView("Load media failure for series", caught);
|
||||
getView().showErrorInCurrentTab(errorView);
|
||||
// TODO: notify callback of failure?
|
||||
// callback.onFailure(caught);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(MediaDTO result) {
|
||||
ctx.withMedia(result);
|
||||
callback.onSuccess(result);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasMedia() {
|
||||
return ctx.getSeriesDTO().isHasMedia();
|
||||
}
|
||||
|
||||
protected abstract SeriesView<PLACE, ?> getView();
|
||||
}
|
||||
-26
@@ -1,26 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.fakeseries.tabs;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.AbstractSeriesTabPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesContext;
|
||||
|
||||
public class SeriesMediaPlace extends AbstractSeriesTabPlace {
|
||||
public SeriesMediaPlace(String id) {
|
||||
super(id);
|
||||
}
|
||||
|
||||
public SeriesMediaPlace(SeriesContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.EventSeriesMedia)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<SeriesMediaPlace> {
|
||||
|
||||
@Override
|
||||
protected SeriesMediaPlace getRealPlace(SeriesContext context) {
|
||||
return new SeriesMediaPlace(context);
|
||||
}
|
||||
}
|
||||
}
|
||||
-78
@@ -1,78 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.fakeseries.tabs;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesTabView;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesView;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.media.MediaPage;
|
||||
import com.sap.sailing.gwt.ui.shared.media.MediaDTO;
|
||||
|
||||
public class SeriesMediaTabView extends Composite implements SeriesTabView<SeriesMediaPlace> {
|
||||
|
||||
// TODO delete UiBinder if we do not need it for the new media page implementation
|
||||
interface MyBinder extends UiBinder<HTMLPanel, SeriesMediaTabView> {
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static MyBinder ourUiBinder = GWT.create(MyBinder.class);
|
||||
private SeriesView.Presenter currentPresenter;
|
||||
|
||||
public SeriesMediaTabView() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<SeriesMediaPlace> getPlaceClassForActivation() {
|
||||
return SeriesMediaPlace.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TabView.State getState() {
|
||||
return TabView.State.INVISIBLE;
|
||||
// TODO return currentPresenter.hasMedia() ? TabView.State.VISIBLE : TabView.State.INVISIBLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(SeriesMediaPlace myPlace, AcceptsOneWidget contentArea) {
|
||||
final MediaPage mediaPage = new MediaPage();
|
||||
|
||||
currentPresenter.ensureMedia(new AsyncCallback<MediaDTO>() {
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(MediaDTO media) {
|
||||
mediaPage.setMedia(media);
|
||||
}
|
||||
});
|
||||
|
||||
initWidget(mediaPage);
|
||||
|
||||
// TODO do we need UiBinder here?
|
||||
// initWidget(ourUiBinder.createAndBindUi(this));
|
||||
|
||||
contentArea.setWidget(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stop() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public SeriesMediaPlace placeToFire() {
|
||||
return new SeriesMediaPlace(currentPresenter.getCtx());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPresenter(SeriesView.Presenter currentPresenter) {
|
||||
this.currentPresenter = currentPresenter;
|
||||
}
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
|
||||
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
|
||||
<g:HTMLPanel>
|
||||
<p>This is the series media tab</p>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.fakeseries.tabs;
|
||||
|
||||
import com.google.gwt.place.shared.Prefix;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventPrefixes;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.AbstractSeriesTabPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesContext;
|
||||
import com.sap.sailing.gwt.home.shared.app.HasMobileVersion;
|
||||
|
||||
public class SeriesOverviewPlace extends AbstractSeriesTabPlace implements HasMobileVersion {
|
||||
public SeriesOverviewPlace(String id) {
|
||||
super(id);
|
||||
}
|
||||
|
||||
public SeriesOverviewPlace(SeriesContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Prefix(EventPrefixes.SeriesOverview)
|
||||
public static class Tokenizer extends AbstractSeriesPlace.Tokenizer<SeriesOverviewPlace> {
|
||||
|
||||
@Override
|
||||
protected SeriesOverviewPlace getRealPlace(SeriesContext context) {
|
||||
return new SeriesOverviewPlace(context);
|
||||
}
|
||||
}
|
||||
}
|
||||
-57
@@ -1,57 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.fakeseries.tabs;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesTabView;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesView;
|
||||
|
||||
public class SeriesOverviewTabView extends Composite implements SeriesTabView<SeriesOverviewPlace> {
|
||||
|
||||
interface MyBinder extends UiBinder<Widget, SeriesOverviewTabView> {
|
||||
}
|
||||
|
||||
private static MyBinder ourUiBinder = GWT.create(MyBinder.class);
|
||||
private SeriesView.Presenter currentPresenter;
|
||||
|
||||
public SeriesOverviewTabView() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<SeriesOverviewPlace> getPlaceClassForActivation() {
|
||||
return SeriesOverviewPlace.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TabView.State getState() {
|
||||
return TabView.State.NOT_AVAILABLE_SHOW_NEXT_AVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(SeriesOverviewPlace myPlace, AcceptsOneWidget contentArea) {
|
||||
initWidget(ourUiBinder.createAndBindUi(this));
|
||||
|
||||
// TODO implement contents
|
||||
|
||||
contentArea.setWidget(this);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stop() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public SeriesOverviewPlace placeToFire() {
|
||||
return new SeriesOverviewPlace(currentPresenter.getCtx());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPresenter(SeriesView.Presenter currentPresenter) {
|
||||
this.currentPresenter = currentPresenter;
|
||||
}
|
||||
}
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
|
||||
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
|
||||
<ui:with field="i18n" type="com.sap.sailing.gwt.ui.client.StringMessages" />
|
||||
<ui:with field="res" type="com.sap.sailing.gwt.common.client.SharedResources" />
|
||||
<ui:style>
|
||||
.container {
|
||||
padding-top: 3em;
|
||||
padding-bottom: 3em;
|
||||
}
|
||||
</ui:style>
|
||||
<g:HTMLPanel addStyleNames="{res.mediaCss.grid} {style.container}">
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.solutions;
|
||||
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
|
||||
public interface SolutionsView {
|
||||
Widget asWidget();
|
||||
}
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.start;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.mainevents.MainEvents;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.mainmedia.MainMedia;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.stage.Stage;
|
||||
import com.sap.sailing.gwt.ui.shared.start.StartViewDTO;
|
||||
|
||||
public class SmartphoneStartView extends Composite implements StartView {
|
||||
|
||||
private static StartPageMobileViewUiBinder uiBinder = GWT.create(StartPageMobileViewUiBinder.class);
|
||||
|
||||
interface StartPageMobileViewUiBinder extends UiBinder<Widget, SmartphoneStartView> {
|
||||
}
|
||||
|
||||
@UiField(provided=true) Stage stage;
|
||||
// @UiField(provided=true) MainSponsors mainSponsors;
|
||||
@UiField(provided=true) MainEvents mainEvents;
|
||||
@UiField(provided=true) MainMedia mainMedia;
|
||||
|
||||
public SmartphoneStartView(DesktopPlacesNavigator navigator) {
|
||||
stage = new Stage(navigator);
|
||||
// mainSponsors = new MainSponsors(navigator);
|
||||
mainEvents = new MainEvents(navigator);
|
||||
mainMedia = new MainMedia(navigator);
|
||||
initWidget(uiBinder.createAndBindUi(this));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setData(StartViewDTO data) {
|
||||
stage.setFeaturedEvents(data.getStageEvents());
|
||||
mainEvents.setRecentEvents(data.getRecentEvents());
|
||||
mainMedia.setData(data.getVideos(), data.getPhotos());
|
||||
}
|
||||
}
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
xmlns:dp="urn:import:com.sap.sailing.gwt.home.desktop.partials">
|
||||
<ui:with field="res" type="com.sap.sailing.gwt.common.client.SharedResources" />
|
||||
<g:HTMLPanel>
|
||||
<dp:stage.Stage ui:field='stage'/>
|
||||
<!-- <s:mainsponsors.MainSponsors ui:field='mainSponsors'/> -->
|
||||
<dp:mainevents.MainEvents ui:field='mainEvents'/>
|
||||
<dp:mainmedia.MainMedia ui:field='mainMedia'/>
|
||||
<dp:socialfooter.SocialFooter/>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.whatsnew;
|
||||
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
|
||||
public interface WhatsNewView {
|
||||
Widget asWidget();
|
||||
}
|
||||
+3
-3
@@ -8,11 +8,11 @@ import com.google.gwt.uibinder.client.UiHandler;
|
||||
import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.SponsoringPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.SponsoringPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
|
||||
public class MainSponsors extends Composite {
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import com.google.gwt.place.shared.Place;
|
||||
import com.google.gwt.place.shared.PlaceController;
|
||||
import com.google.gwt.user.client.rpc.ServiceDefTarget;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
|
||||
import com.sap.sailing.gwt.ui.client.HomeService;
|
||||
import com.sap.sailing.gwt.ui.client.HomeServiceAsync;
|
||||
import com.sap.sailing.gwt.ui.client.MediaService;
|
||||
|
||||
+22
-22
@@ -3,29 +3,29 @@ package com.sap.sailing.gwt.home.desktop.app;
|
||||
import com.google.gwt.activity.shared.Activity;
|
||||
import com.google.gwt.activity.shared.ActivityMapper;
|
||||
import com.google.gwt.place.shared.Place;
|
||||
import com.sap.sailing.gwt.home.client.place.aboutus.AboutUsActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.aboutus.AboutUsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.contact.ContactActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.contact.ContactPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.error.ErrorActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.error.ErrorPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.SponsoringActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.SponsoringPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewActivityProxy;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.aboutus.AboutUsActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.aboutus.AboutUsPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.contact.ContactActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.contact.ContactPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.error.ErrorActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.error.ErrorPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.events.EventsActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.solutions.SolutionsActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.SponsoringActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.SponsoringPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.start.StartActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewActivityProxy;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.shared.SwitchingEntryPoint;
|
||||
import com.sap.sailing.gwt.home.shared.app.ApplicationPlaceUpdater;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.AbstractSeriesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
|
||||
|
||||
public class DesktopActivityMapper implements ActivityMapper {
|
||||
private final DesktopClientFactory clientFactory;
|
||||
@@ -55,7 +55,7 @@ public class DesktopActivityMapper implements ActivityMapper {
|
||||
AbstractEventPlace eventPlace = (AbstractEventPlace) place;
|
||||
return new EventActivityProxy(eventPlace, clientFactory, clientFactory.getHomePlacesNavigator());
|
||||
} else if (place instanceof AbstractSeriesPlace) {
|
||||
return new com.sap.sailing.gwt.home.client.place.fakeseries.SeriesActivityProxy((AbstractSeriesPlace) place, clientFactory, clientFactory.getHomePlacesNavigator());
|
||||
return new com.sap.sailing.gwt.home.desktop.places.fakeseries.SeriesActivityProxy((AbstractSeriesPlace) place, clientFactory, clientFactory.getHomePlacesNavigator());
|
||||
} else if (place instanceof EventsPlace) {
|
||||
return new EventsActivityProxy((EventsPlace) place, clientFactory);
|
||||
} else if (place instanceof StartPlace) {
|
||||
|
||||
+10
-10
@@ -1,16 +1,16 @@
|
||||
package com.sap.sailing.gwt.home.desktop.app;
|
||||
|
||||
import com.sap.sailing.gwt.home.client.place.aboutus.AboutUsClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.contact.ContactClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.error.ErrorClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.event.legacy.SeriesClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.SponsoringClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.aboutus.AboutUsClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.contact.ContactClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.error.ErrorClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.events.EventsClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.solutions.SolutionsClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.SponsoringClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.start.StartClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewClientFactory;
|
||||
|
||||
public interface DesktopClientFactory extends AboutUsClientFactory, ContactClientFactory, EventClientFactory,
|
||||
EventsClientFactory, StartClientFactory, SponsoringClientFactory, SolutionsClientFactory, SearchResultClientFactory,
|
||||
|
||||
+18
-18
@@ -4,26 +4,26 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.google.gwt.place.shared.PlaceController;
|
||||
import com.sap.sailing.gwt.home.client.place.aboutus.AboutUsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.contact.ContactPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs.MultiregattaRegattasPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaCompetitorAnalyticsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.SponsoringPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.desktop.places.aboutus.AboutUsPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.contact.ContactPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.regattastab.MultiregattaRegattasPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.analyticstab.RegattaCompetitorAnalyticsPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.leaderboardtab.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.SponsoringPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.shared.app.AbstractPlaceNavigator;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
|
||||
import com.sap.sailing.gwt.ui.client.EntryPointLinkFactory;
|
||||
|
||||
public class DesktopPlacesNavigator extends AbstractPlaceNavigator {
|
||||
|
||||
+15
-15
@@ -3,23 +3,23 @@ package com.sap.sailing.gwt.home.desktop.app;
|
||||
import com.google.gwt.event.shared.SimpleEventBus;
|
||||
import com.google.gwt.place.shared.PlaceController;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
import com.sap.sailing.gwt.home.client.place.error.TabletAndDesktopErrorView;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsView;
|
||||
import com.sap.sailing.gwt.home.client.place.events.TabletAndDesktopEventsView;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultView;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.TabletAndDesktopSearchResultView;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsView;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.TabletAndDesktopSolutionsView;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.SponsoringView;
|
||||
import com.sap.sailing.gwt.home.client.place.sponsoring.TabletAndDesktopSponsoringView;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartView;
|
||||
import com.sap.sailing.gwt.home.client.place.start.TabletAndDesktopStartView;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.TabletAndDesktopWhatsNewView;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.error.TabletAndDesktopErrorView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.events.EventsView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.events.TabletAndDesktopEventsView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.TabletAndDesktopSearchResultView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.solutions.SolutionsView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.solutions.TabletAndDesktopSolutionsView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.SponsoringView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.sponsoring.TabletAndDesktopSponsoringView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.start.StartView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.start.TabletAndDesktopStartView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.TabletAndDesktopWhatsNewView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.shared.dispatch.DispatchSystem;
|
||||
import com.sap.sailing.gwt.home.shared.dispatch.DispatchSystemImpl;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
|
||||
|
||||
public class TabletAndDesktopApplicationClientFactory extends AbstractApplicationClientFactory implements DesktopClientFactory {
|
||||
|
||||
+4
-4
@@ -18,12 +18,12 @@ import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.LinkUtil;
|
||||
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.EventView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView.PlaceCallback;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView.Presenter;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.sharing.SharingButtons;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.sharing.SharingMetadataProvider;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView.PlaceCallback;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.utils.DropdownHandler;
|
||||
import com.sap.sailing.gwt.home.shared.utils.EventDatesFormatterUtil;
|
||||
import com.sap.sailing.gwt.home.shared.utils.LabelTypeUtil;
|
||||
|
||||
+1
-1
@@ -14,9 +14,9 @@ import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.utils.CollapseAnimation;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.eventlist.EventListEventDTO;
|
||||
|
||||
+3
-3
@@ -12,15 +12,15 @@ import com.google.gwt.user.client.ui.SimplePanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.SharedResources;
|
||||
import com.sap.sailing.gwt.common.client.SharedResources.MediaCss;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.updates.UpdatesBox;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.partials.countdown.Countdown;
|
||||
import com.sap.sailing.gwt.home.shared.partials.countdown.Countdown.CountdownNavigationProvider;
|
||||
import com.sap.sailing.gwt.home.shared.partials.message.Message;
|
||||
import com.sap.sailing.gwt.home.shared.partials.video.Video;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.ListResult;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.EventOverviewStageContentDTO;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.EventOverviewStageDTO;
|
||||
|
||||
+1
-1
@@ -11,9 +11,9 @@ import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.DateUtil;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.utils.EventDatesFormatterUtil;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.eventlist.EventListEventDTO;
|
||||
|
||||
+2
-2
@@ -26,9 +26,9 @@ import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.ValueListBox;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.shared.SwitchingEntryPoint;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sse.common.Util.Pair;
|
||||
|
||||
+6
-6
@@ -21,16 +21,16 @@ import com.google.gwt.user.client.ui.Widget;
|
||||
import com.google.gwt.user.client.ui.impl.HyperlinkImpl;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
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.legacy.EventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.legacy.RegattaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
|
||||
import com.sap.sse.gwt.client.mvp.PlaceChangedEvent;
|
||||
|
||||
public class Header extends Composite {
|
||||
|
||||
+2
-2
@@ -4,14 +4,14 @@ import java.util.Collection;
|
||||
|
||||
import com.google.gwt.dom.client.Style.Display;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.AbstractRaceList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListColumnFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListColumnSet;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListContainer;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListDataUtil;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.SortableRaceListColumn;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.CollectionResult;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.LiveRaceDTO;
|
||||
|
||||
+2
-2
@@ -11,11 +11,11 @@ import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.eventsrecent.RecentEventTeaser;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.ui.shared.eventlist.EventListEventDTO;
|
||||
|
||||
public class MainEvents extends Composite {
|
||||
|
||||
+2
-2
@@ -13,8 +13,8 @@ import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.Label;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.SortedSetResult;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.regatta.RegattaWithProgressDTO;
|
||||
|
||||
+1
-1
@@ -5,8 +5,8 @@ import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattaheader.RegattaHeader;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.regatta.RegattaWithProgressDTO;
|
||||
|
||||
|
||||
+1
-1
@@ -13,9 +13,9 @@ import com.google.gwt.user.cellview.client.RowStyles;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.SimplePanel;
|
||||
import com.sap.sailing.domain.common.InvertibleComparator;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListColumnFactory.SortableRaceListStartTimeColumn;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListResources.LocalCss;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.ui.leaderboard.SortedCellTable;
|
||||
import com.sap.sailing.gwt.ui.shared.race.RaceMetadataDTO;
|
||||
import com.sap.sailing.gwt.ui.shared.race.wind.AbstractWindDTO;
|
||||
|
||||
+1
-1
@@ -28,8 +28,8 @@ import com.sap.sailing.domain.common.impl.NaturalComparator;
|
||||
import com.sap.sailing.gwt.common.client.SharedResources;
|
||||
import com.sap.sailing.gwt.common.client.SharedResources.MainCss;
|
||||
import com.sap.sailing.gwt.common.client.i18n.TextMessages;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.RaceListResources.LocalCss;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.regattaoverview.client.FlagsMeaningExplanator;
|
||||
import com.sap.sailing.gwt.regattaoverview.client.SailingFlagsBuilder;
|
||||
import com.sap.sailing.gwt.ui.client.FlagImageResolver;
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.CollectionResult;
|
||||
import com.sap.sailing.gwt.ui.shared.race.RaceMetadataDTO;
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.RaceCompetitionFormatFleetDTO;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.RaceCompetitionFormatSeriesDTO;
|
||||
|
||||
+1
-1
@@ -19,8 +19,8 @@ import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.google.gwt.user.client.ui.TextBox;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.searchresult.SearchResultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.ui.shared.LeaderboardSearchResultDTO;
|
||||
|
||||
|
||||
+2
-2
@@ -11,10 +11,10 @@ import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.google.gwt.user.client.ui.impl.HyperlinkImpl;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.utils.EventDatesFormatterUtil;
|
||||
import com.sap.sailing.gwt.ui.shared.EventBaseDTO;
|
||||
import com.sap.sailing.gwt.ui.shared.LeaderboardSearchResultDTO;
|
||||
|
||||
+3
-3
@@ -14,12 +14,12 @@ import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.InlineLabel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.LinkUtil;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesView;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesView.Presenter;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.sharing.SharingButtons;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.sharing.SharingMetadataProvider;
|
||||
import com.sap.sailing.gwt.home.desktop.places.fakeseries.SeriesView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.fakeseries.SeriesView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.utils.LabelTypeUtil;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.fakeseries.EventSeriesViewDTO;
|
||||
|
||||
+4
-4
@@ -15,12 +15,12 @@ import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.google.gwt.user.client.ui.impl.HyperlinkImpl;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.whatsnew.WhatsNewPlace.WhatsNewNavigationTabs;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace.SolutionsNavigationTabs;
|
||||
|
||||
public class Solutions extends Composite {
|
||||
interface SolutionsUiBinder extends UiBinder<Widget, Solutions> {
|
||||
|
||||
+1
-1
@@ -11,10 +11,10 @@ import com.google.gwt.uibinder.client.UiHandler;
|
||||
import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigator;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.ui.shared.start.EventStageDTO;
|
||||
|
||||
public abstract class StageTeaserBand extends Composite {
|
||||
|
||||
+1
-1
@@ -10,8 +10,8 @@ import com.google.gwt.dom.client.Style.Display;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.shared.utils.LabelTypeUtil;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.common.client.DateAndTimeFormatterUtil;
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView.Presenter;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView.Presenter;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.news.NewsEntryDTO;
|
||||
|
||||
public class UpdatesBox extends Composite {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import com.google.gwt.user.client.EventListener;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.BoatClassImageResolver;
|
||||
import com.sap.sailing.gwt.common.client.LinkUtil;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.news.AbstractRaceNewsEntryDTO;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.aboutus;
|
||||
package com.sap.sailing.gwt.home.desktop.places.aboutus;
|
||||
|
||||
import com.google.gwt.activity.shared.AbstractActivity;
|
||||
import com.google.gwt.event.shared.EventBus;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.aboutus;
|
||||
package com.sap.sailing.gwt.home.desktop.places.aboutus;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.sap.sse.gwt.client.mvp.AbstractActivityProxy;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.aboutus;
|
||||
package com.sap.sailing.gwt.home.desktop.places.aboutus;
|
||||
|
||||
import com.sap.sailing.gwt.ui.client.SailingClientFactory;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.aboutus;
|
||||
package com.sap.sailing.gwt.home.desktop.places.aboutus;
|
||||
|
||||
import com.google.gwt.place.shared.Place;
|
||||
import com.google.gwt.place.shared.PlaceTokenizer;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.aboutus;
|
||||
package com.sap.sailing.gwt.home.desktop.places.aboutus;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
+1
-3
@@ -1,6 +1,5 @@
|
||||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui">
|
||||
<ui:style>
|
||||
.panel {
|
||||
width: 100%;
|
||||
@@ -8,7 +7,6 @@
|
||||
border: solid 1px black;
|
||||
}
|
||||
</ui:style>
|
||||
|
||||
<g:VerticalPanel styleName="{style.panel}">
|
||||
<g:HTML>
|
||||
About us content
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.contact;
|
||||
package com.sap.sailing.gwt.home.desktop.places.contact;
|
||||
|
||||
import com.google.gwt.activity.shared.AbstractActivity;
|
||||
import com.google.gwt.event.shared.EventBus;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.contact;
|
||||
package com.sap.sailing.gwt.home.desktop.places.contact;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.sap.sse.gwt.client.mvp.AbstractActivityProxy;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.contact;
|
||||
package com.sap.sailing.gwt.home.desktop.places.contact;
|
||||
|
||||
import com.sap.sailing.gwt.ui.client.SailingClientFactory;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.contact;
|
||||
package com.sap.sailing.gwt.home.desktop.places.contact;
|
||||
|
||||
import com.google.gwt.place.shared.Place;
|
||||
import com.google.gwt.place.shared.PlaceTokenizer;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.contact;
|
||||
package com.sap.sailing.gwt.home.desktop.places.contact;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
+1
-3
@@ -1,6 +1,5 @@
|
||||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui">
|
||||
<ui:with field="res" type="com.sap.sailing.gwt.common.client.SharedResources" />
|
||||
<ui:style>
|
||||
.panel {
|
||||
@@ -9,7 +8,6 @@
|
||||
border: solid 1px black;
|
||||
}
|
||||
</ui:style>
|
||||
|
||||
<g:VerticalPanel styleName="{style.panel}">
|
||||
<g:HTML>
|
||||
Contact content
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.error;
|
||||
package com.sap.sailing.gwt.home.desktop.places.error;
|
||||
|
||||
import com.google.gwt.activity.shared.AbstractActivity;
|
||||
import com.google.gwt.event.shared.EventBus;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.error;
|
||||
package com.sap.sailing.gwt.home.desktop.places.error;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.sap.sse.gwt.client.mvp.AbstractActivityProxy;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.error;
|
||||
package com.sap.sailing.gwt.home.desktop.places.error;
|
||||
|
||||
import com.sap.sailing.gwt.ui.client.SailingClientFactory;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.error;
|
||||
package com.sap.sailing.gwt.home.desktop.places.error;
|
||||
|
||||
import com.google.gwt.place.shared.Place;
|
||||
import com.google.gwt.place.shared.PlaceTokenizer;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.error;
|
||||
package com.sap.sailing.gwt.home.desktop.places.error;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
File renamed without changes.
+11
-8
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@@ -12,17 +12,20 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
|
||||
import com.sap.sailing.domain.common.dto.RaceDTO;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaRacesPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.leaderboardtab.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.racestab.RegattaRacesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.ApplicationHistoryMapper;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.dispatch.DispatchSystem;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
|
||||
import com.sap.sailing.gwt.ui.client.EntryPointLinkFactory;
|
||||
import com.sap.sailing.gwt.ui.client.HomeServiceAsync;
|
||||
import com.sap.sailing.gwt.ui.client.SailingServiceAsync;
|
||||
+16
-13
@@ -1,24 +1,27 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.sap.sailing.gwt.home.client.place.error.ErrorPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaActivity;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs.MultiregattaMediaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs.MultiregattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs.MultiregattaRegattasPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaActivity;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaMediaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaRacesPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.error.ErrorPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaActivity;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.mediatab.MultiregattaMediaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.overviewtab.MultiregattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.regattastab.MultiregattaRegattasPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaActivity;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.leaderboardtab.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.mediatab.RegattaMediaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.racestab.RegattaRacesPlace;
|
||||
import com.sap.sailing.gwt.home.mobile.places.event.latestnews.LatestNewsPlace;
|
||||
import com.sap.sailing.gwt.home.mobile.places.event.minileaderboard.MiniLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.GetEventViewAction;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.EventViewDTO;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.EventViewDTO.EventType;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event;
|
||||
|
||||
import com.sap.sailing.gwt.home.shared.dispatch.DispatchSystem;
|
||||
import com.sap.sailing.gwt.ui.client.SailingClientFactory;
|
||||
+10
-7
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event;
|
||||
|
||||
import com.google.gwt.place.shared.Place;
|
||||
import com.google.gwt.safehtml.shared.SafeUri;
|
||||
@@ -7,14 +7,17 @@ import com.google.gwt.user.client.ui.IsWidget;
|
||||
import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
|
||||
import com.sap.sailing.domain.common.dto.RaceDTO;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaRacesPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.start.StartPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.leaderboardtab.RegattaLeaderboardPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.racestab.RegattaRacesPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.dispatch.DispatchSystem;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.events.EventsPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
|
||||
import com.sap.sailing.gwt.ui.client.HomeServiceAsync;
|
||||
import com.sap.sailing.gwt.ui.client.SailingServiceAsync;
|
||||
import com.sap.sailing.gwt.ui.shared.StrippedLeaderboardDTO;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta;
|
||||
|
||||
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.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
|
||||
public abstract class AbstractMultiregattaEventPlace extends AbstractEventPlace {
|
||||
|
||||
+6
-6
@@ -1,16 +1,16 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta;
|
||||
|
||||
import com.google.gwt.event.shared.EventBus;
|
||||
import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventActivity;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView.PlaceCallback;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.AbstractEventActivity;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView.PlaceCallback;
|
||||
|
||||
public class EventMultiregattaActivity extends AbstractEventActivity<AbstractMultiregattaEventPlace> implements EventMultiregattaView.Presenter {
|
||||
|
||||
private EventMultiregattaView currentView = new TabletAndDesktopEventView();
|
||||
private EventMultiregattaView currentView = new TabletAndDesktopMultiRegattaEventView();
|
||||
|
||||
public EventMultiregattaActivity(AbstractMultiregattaEventPlace place, EventClientFactory clientFactory,
|
||||
DesktopPlacesNavigator homePlacesNavigator) {
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta;
|
||||
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
|
||||
public interface EventMultiregattaView extends EventView<AbstractMultiregattaEventPlace, EventMultiregattaView.Presenter> {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta;
|
||||
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Style;
|
||||
@@ -25,11 +25,11 @@ import com.sap.sailing.gwt.home.shared.app.ApplicationHistoryMapper;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
|
||||
public class TabletAndDesktopEventView extends Composite implements EventMultiregattaView {
|
||||
public class TabletAndDesktopMultiRegattaEventView extends Composite implements EventMultiregattaView {
|
||||
|
||||
private static final ApplicationHistoryMapper historyMapper = GWT.<ApplicationHistoryMapper> create(ApplicationHistoryMapper.class);
|
||||
|
||||
interface MyBinder extends UiBinder<Widget, TabletAndDesktopEventView> {
|
||||
interface MyBinder extends UiBinder<Widget, TabletAndDesktopMultiRegattaEventView> {
|
||||
}
|
||||
|
||||
private static MyBinder uiBinder = GWT.create(MyBinder.class);
|
||||
@@ -41,7 +41,7 @@ public class TabletAndDesktopEventView extends Composite implements EventMultire
|
||||
|
||||
private Presenter currentPresenter;
|
||||
|
||||
public TabletAndDesktopEventView() {
|
||||
public TabletAndDesktopMultiRegattaEventView() {
|
||||
}
|
||||
|
||||
@Override
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
xmlns:c="urn:import:com.sap.sailing.gwt.common.client.controls.tabbar"
|
||||
xmlns:dp="urn:import:com.sap.sailing.gwt.home.desktop.partials"
|
||||
xmlns:t="urn:import:com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs">
|
||||
xmlns:e="urn:import:com.sap.sailing.gwt.home.desktop.places.event.multiregatta">
|
||||
<ui:with field="i18n" type="com.sap.sailing.gwt.ui.client.StringMessages" />
|
||||
<ui:style>
|
||||
.header {
|
||||
@@ -43,13 +43,13 @@
|
||||
<dp:eventheader.EventHeader ui:field="eventHeader" />
|
||||
</c:header>
|
||||
<c:tabcontent title="{i18n.overview}">
|
||||
<t:MultiregattaOverviewTabView />
|
||||
<e:overviewtab.MultiregattaOverviewTabView />
|
||||
</c:tabcontent>
|
||||
<c:tabcontent title="{i18n.regattas}">
|
||||
<t:MultiregattaRegattasTabView />
|
||||
<e:regattastab.MultiregattaRegattasTabView />
|
||||
</c:tabcontent>
|
||||
<c:tabcontent title="{i18n.media}">
|
||||
<t:MultiregattaMediaTabView />
|
||||
<e:mediatab.MultiregattaMediaTabView />
|
||||
</c:tabcontent>
|
||||
</c:TabPanel>
|
||||
</g:HTMLPanel>
|
||||
+6
-6
@@ -1,12 +1,12 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.mediatab;
|
||||
|
||||
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.desktop.places.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;
|
||||
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 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) {
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.mediatab;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
@@ -7,10 +7,10 @@ import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.MultiregattaTabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.media.MediaPage;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.MultiregattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.ui.shared.media.MediaDTO;
|
||||
|
||||
/**
|
||||
File renamed without changes.
+6
-6
@@ -1,11 +1,11 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.overviewtab;
|
||||
|
||||
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.desktop.places.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
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 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) {
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.overviewtab;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -9,11 +9,6 @@ import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.MultiregattaTabView;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.eventstage.EventOverviewStage;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.liveraces.LiveRacesList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.multiregattalist.MultiRegattaList;
|
||||
@@ -21,6 +16,11 @@ import com.sap.sailing.gwt.home.desktop.partials.raceoffice.RaceOfficeSection;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.DropdownFilter;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.DropdownFilter.DropdownFilterList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.statistics.StatisticsBox;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.MultiregattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.SortedSetResult;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.GetEventStatisticsAction;
|
||||
File renamed without changes.
+6
-6
@@ -1,10 +1,10 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.regattastab;
|
||||
|
||||
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.desktop.places.event.multiregatta.AbstractMultiregattaEventPlace;
|
||||
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 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) {
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.multiregatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.multiregatta.regattastab;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -9,16 +9,16 @@ import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.multiregatta.MultiregattaTabView;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.liveraces.LiveRacesList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.multiregattalist.MultiRegattaList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.raceoffice.RaceOfficeSection;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.DropdownFilter;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.DropdownFilter.DropdownFilterList;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.MultiregattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.multiregatta.EventMultiregattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.SortedSetResult;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.GetLiveRacesForEventAction;
|
||||
File renamed without changes.
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
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.shared.places.event.AbstractEventPlace;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
|
||||
public abstract class AbstractEventRegattaPlace extends AbstractEventPlace {
|
||||
|
||||
+8
-8
@@ -1,16 +1,16 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
import com.google.gwt.event.shared.EventBus;
|
||||
import com.google.gwt.user.client.Window;
|
||||
import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.sap.sailing.gwt.home.client.place.event.AbstractEventActivity;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventClientFactory;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventContext;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView.PlaceCallback;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.app.DesktopPlacesNavigator;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.AbstractEventActivity;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventClientFactory;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView.PlaceCallback;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.event.EventContext;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.EventViewDTO;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.EventViewDTO.EventType;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.RegattaReferenceDTO;
|
||||
@@ -22,7 +22,7 @@ import com.sap.sse.gwt.client.player.Timer.PlayStates;
|
||||
import com.sap.sse.gwt.client.useragent.UserAgentDetails;
|
||||
|
||||
public class EventRegattaActivity extends AbstractEventActivity<AbstractEventRegattaPlace> implements EventRegattaView.Presenter {
|
||||
private EventRegattaView currentView = new TabletAndDesktopEventView();
|
||||
private EventRegattaView currentView = new TabletAndDesktopRegattaEventView();
|
||||
private final UserAgentDetails userAgent = new UserAgentDetails(Window.Navigator.getUserAgent());
|
||||
private final AsyncActionsExecutor asyncActionsExecutor = new AsyncActionsExecutor();
|
||||
private final long delayBetweenAutoAdvancesInMilliseconds = 3000l;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.tabs.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab.RegattaOverviewPlace;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sse.gwt.client.player.Timer;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
import com.sap.sailing.domain.common.DetailType;
|
||||
import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
|
||||
+1
-4
@@ -1,11 +1,8 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
import com.google.gwt.user.client.Window;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.AbstractEventRegattaPlace;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaAnalyticsDataManager;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.utils.EventParamUtils;
|
||||
import com.sap.sailing.gwt.ui.client.LeaderboardUpdateListener;
|
||||
import com.sap.sailing.gwt.ui.leaderboard.LeaderboardPanel;
|
||||
+5
-5
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Style;
|
||||
@@ -20,18 +20,18 @@ import com.sap.sailing.gwt.common.client.controls.tabbar.TabPanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabPanelPlaceSelectionEvent;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.common.client.i18n.TextMessages;
|
||||
import com.sap.sailing.gwt.home.client.place.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.eventheader.EventHeader;
|
||||
import com.sap.sailing.gwt.home.shared.app.ApplicationHistoryMapper;
|
||||
import com.sap.sailing.gwt.home.shared.app.PlaceNavigation;
|
||||
import com.sap.sailing.gwt.home.shared.places.fakeseries.SeriesDefaultPlace;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.EventViewDTO.EventType;
|
||||
|
||||
public class TabletAndDesktopEventView extends Composite implements EventRegattaView {
|
||||
public class TabletAndDesktopRegattaEventView extends Composite implements EventRegattaView {
|
||||
|
||||
private static final ApplicationHistoryMapper historyMapper = GWT.<ApplicationHistoryMapper> create(ApplicationHistoryMapper.class);
|
||||
|
||||
interface MyBinder extends UiBinder<Widget, TabletAndDesktopEventView> {
|
||||
interface MyBinder extends UiBinder<Widget, TabletAndDesktopRegattaEventView> {
|
||||
}
|
||||
|
||||
private static MyBinder uiBinder = GWT.create(MyBinder.class);
|
||||
@@ -43,7 +43,7 @@ public class TabletAndDesktopEventView extends Composite implements EventRegatta
|
||||
|
||||
private Presenter currentPresenter;
|
||||
|
||||
public TabletAndDesktopEventView() {
|
||||
public TabletAndDesktopRegattaEventView() {
|
||||
}
|
||||
|
||||
@Override
|
||||
+6
-6
@@ -2,7 +2,7 @@
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
xmlns:c="urn:import:com.sap.sailing.gwt.common.client.controls.tabbar"
|
||||
xmlns:dp="urn:import:com.sap.sailing.gwt.home.desktop.partials"
|
||||
xmlns:t="urn:import:com.sap.sailing.gwt.home.client.place.event.regatta.tabs">
|
||||
xmlns:e="urn:import:com.sap.sailing.gwt.home.desktop.places.event.regatta">
|
||||
<ui:with field="i18n" type="com.sap.sailing.gwt.ui.client.StringMessages" />
|
||||
<ui:style>
|
||||
.header {
|
||||
@@ -43,19 +43,19 @@
|
||||
<dp:eventheader.EventHeader ui:field="eventHeader" />
|
||||
</c:header>
|
||||
<c:tabcontent title="{i18n.overview}">
|
||||
<t:RegattaOverviewTabView />
|
||||
<e:overviewtab.RegattaOverviewTabView />
|
||||
</c:tabcontent>
|
||||
<c:tabcontent title="{i18n.races}">
|
||||
<t:RegattaRacesTabView />
|
||||
<e:racestab.RegattaRacesTabView />
|
||||
</c:tabcontent>
|
||||
<c:tabcontent title="{i18n.leaderboard}">
|
||||
<t:RegattaLeaderboardTabView />
|
||||
<e:leaderboardtab.RegattaLeaderboardTabView />
|
||||
</c:tabcontent>
|
||||
<c:tabcontent title="{i18n.competitorsAnalytics}">
|
||||
<t:RegattaCompetitorAnalyticsTabView />
|
||||
<e:analyticstab.RegattaCompetitorAnalyticsTabView />
|
||||
</c:tabcontent>
|
||||
<c:tabcontent title="{i18n.media}">
|
||||
<t:RegattaMediaTabView />
|
||||
<e:mediatab.RegattaMediaTabView />
|
||||
</c:tabcontent>
|
||||
</c:TabPanel>
|
||||
</g:HTMLPanel>
|
||||
+6
-6
@@ -1,10 +1,10 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.analyticstab;
|
||||
|
||||
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.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
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 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
|
||||
+5
-4
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.analyticstab;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
@@ -16,11 +16,12 @@ import com.sap.sailing.domain.common.dto.CompetitorDTO;
|
||||
import com.sap.sailing.domain.common.dto.LeaderboardDTO;
|
||||
import com.sap.sailing.domain.common.dto.RaceColumnDTO;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaAnalyticsDataManager;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.old.competitorcharts.OldCompetitorCharts;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.old.competitorcharts.OldCompetitorChartsDelegateFullscreenViewer;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.RegattaAnalyticsDataManager;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.SharedLeaderboardRegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.ExperimentalFeatures;
|
||||
import com.sap.sailing.gwt.home.shared.partials.placeholder.Placeholder;
|
||||
import com.sap.sailing.gwt.ui.client.CompetitorSelectionChangeListener;
|
||||
File renamed without changes.
+6
-6
@@ -1,10 +1,10 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.leaderboardtab;
|
||||
|
||||
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.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
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 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) {
|
||||
+5
-4
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.leaderboardtab;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
@@ -10,11 +10,12 @@ import com.sap.sailing.domain.common.RaceIdentifier;
|
||||
import com.sap.sailing.domain.common.dto.LeaderboardDTO;
|
||||
import com.sap.sailing.domain.common.dto.RaceColumnDTO;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaAnalyticsDataManager;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.old.leaderboard.OldLeaderboard;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.old.leaderboard.OldLeaderboardDelegateFullscreenViewer;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.RegattaAnalyticsDataManager;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.SharedLeaderboardRegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.partials.placeholder.Placeholder;
|
||||
import com.sap.sailing.gwt.ui.leaderboard.LeaderboardPanel;
|
||||
import com.sap.sailing.gwt.ui.shared.general.EventState;
|
||||
File renamed without changes.
+6
-6
@@ -1,12 +1,12 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.mediatab;
|
||||
|
||||
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.desktop.places.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;
|
||||
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 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
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.mediatab;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
@@ -7,10 +7,10 @@ import com.google.gwt.user.client.ui.AcceptsOneWidget;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.media.MediaPage;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.ui.shared.media.MediaDTO;
|
||||
|
||||
/**
|
||||
File renamed without changes.
+6
-6
@@ -1,11 +1,11 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab;
|
||||
|
||||
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.desktop.places.event.regatta.AbstractEventRegattaPlace;
|
||||
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 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
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.overviewtab;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
@@ -8,17 +8,17 @@ import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.google.gwt.user.client.ui.SimplePanel;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.eventstage.EventOverviewStage;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.liveraces.LiveRacesList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.multiregattalist.MultiRegattaListItem;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.standings.StandingsList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.statistics.StatisticsBox;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.ExperimentalFeatures;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.GetLiveRacesForRegattaAction;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.GetMiniLeaderbordAction;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.event.GetRegattaStatisticsAction;
|
||||
File renamed without changes.
+6
-6
@@ -1,12 +1,12 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.racestab;
|
||||
|
||||
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.desktop.places.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;
|
||||
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 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) {
|
||||
+7
-7
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.regatta.tabs;
|
||||
package com.sap.sailing.gwt.home.desktop.places.event.regatta.racestab;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.UUID;
|
||||
@@ -15,12 +15,6 @@ import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.SimplePanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.common.client.controls.tabbar.TabView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.EventView;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.client.place.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.ActionProvider.AbstractActionProvider;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.client.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.liveraces.LiveRacesList;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.multiregattalist.MultiRegattaListItem;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.racelist.AbstractRaceList;
|
||||
@@ -34,8 +28,14 @@ import com.sap.sailing.gwt.home.desktop.partials.regattacompetition.RegattaCompe
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.ListNavigationPanel;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.ListNavigationPanel.ListNavigationAction;
|
||||
import com.sap.sailing.gwt.home.desktop.partials.regattanavigation.ListNavigationPanel.SelectionCallback;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.EventView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.RegattaTabView;
|
||||
import com.sap.sailing.gwt.home.desktop.places.event.regatta.EventRegattaView.Presenter;
|
||||
import com.sap.sailing.gwt.home.shared.ExperimentalFeatures;
|
||||
import com.sap.sailing.gwt.home.shared.partials.regattanavigation.RaceStateLegend;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshManager;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.RefreshableWidget;
|
||||
import com.sap.sailing.gwt.home.shared.refresh.ActionProvider.AbstractActionProvider;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.Action;
|
||||
import com.sap.sailing.gwt.ui.shared.dispatch.DTO;
|
||||
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.client.place.events;
|
||||
package com.sap.sailing.gwt.home.desktop.places.events;
|
||||
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.sap.sailing.gwt.ui.shared.eventlist.EventListViewDTO;
|
||||
Loaded 100 of 220 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user