mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 03:43:52 +00:00
Merge branch 'design2015-mobilehome' of ssh://sapsailing.com/home/trac/git into design2015-mobilehome
# By Steffen Schaefer # Via Steffen Schaefer * 'design2015-mobilehome' of ssh://sapsailing.com/home/trac/git: Added method to set the Quickfinder values Initial addition of the quickfinder for mobile StartPlace (without contents) Conflicts: java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/mobile/places/start/StartView.java java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/mobile/places/start/StartViewImpl.java
This commit is contained in:
commit
fa39d4cb2e
3 files changed
+31
-12
No files matched your search
+5
@@ -1,12 +1,17 @@
|
||||
package com.sap.sailing.gwt.home.mobile.places.start;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.home.mobile.app.MobilePlacesNavigator;
|
||||
import com.sap.sailing.gwt.ui.shared.general.EventReferenceDTO;
|
||||
|
||||
public interface StartView {
|
||||
|
||||
Widget asWidget();
|
||||
|
||||
void setQuickFinderValues(Collection<EventReferenceDTO> events);
|
||||
|
||||
public interface Presenter {
|
||||
MobilePlacesNavigator getNavigator();
|
||||
}
|
||||
|
||||
+7
@@ -1,11 +1,14 @@
|
||||
package com.sap.sailing.gwt.home.mobile.places.start;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
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.mobile.partials.stage.Stage;
|
||||
import com.sap.sailing.gwt.ui.shared.general.EventReferenceDTO;
|
||||
|
||||
public class StartViewImpl extends Composite implements StartView {
|
||||
private static StartPageViewUiBinder uiBinder = GWT.create(StartPageViewUiBinder.class);
|
||||
@@ -23,4 +26,8 @@ public class StartViewImpl extends Composite implements StartView {
|
||||
stage = new Stage(presenter.getNavigator());
|
||||
initWidget(uiBinder.createAndBindUi(this));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setQuickFinderValues(Collection<EventReferenceDTO> events) {
|
||||
}
|
||||
}
|
||||
+19
-12
@@ -1,16 +1,23 @@
|
||||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder
|
||||
xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
||||
xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
||||
xmlns:s="urn:import:com.sap.sailing.gwt.home.client.shared"
|
||||
xmlns:mp="urn:import:com.sap.sailing.gwt.home.mobile.partials"
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
>
|
||||
<ui:with
|
||||
field="res"
|
||||
type="com.sap.sailing.gwt.home.mobile.resources.SharedResources" />
|
||||
|
||||
<g:HTMLPanel>
|
||||
<s:stage.Stage ui:field='stage'/>
|
||||
<mp:socialfooter.SocialFooter/>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
>
|
||||
<ui:with
|
||||
field="res"
|
||||
type="com.sap.sailing.gwt.home.mobile.resources.SharedResources" />
|
||||
<ui:style>
|
||||
.headerWrapper {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
</ui:style>
|
||||
<g:HTMLPanel>
|
||||
<div class="{style.headerWrapper}">
|
||||
<mp:quickfinder.Quickfinder ui:field="quickFinderUi" />
|
||||
</div>
|
||||
<mp:stage.Stage ui:field='stage'/>
|
||||
<mp:socialfooter.SocialFooter/>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
Reference in new issue
Block a user