mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-26 07:26:41 +00:00
bug5613: moved DropdownItem stuff to com.sap.sse.gwt
This commit is contained in:
+2
@@ -34,6 +34,8 @@ import com.sap.sailing.gwt.ui.shared.databylogo.DataByLogo;
|
||||
import com.sap.sse.common.Util;
|
||||
import com.sap.sse.gwt.client.LinkUtil;
|
||||
import com.sap.sse.gwt.client.controls.dropdown.DropdownHandler;
|
||||
import com.sap.sse.gwt.client.controls.dropdown.DropdownItem;
|
||||
import com.sap.sse.gwt.client.controls.dropdown.DropdownItemResources;
|
||||
|
||||
public class EventHeader extends Composite {
|
||||
private static EventHeaderUiBinder uiBinder = GWT.create(EventHeaderUiBinder.class);
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
<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:with field="local_res" type="com.sap.sailing.gwt.home.desktop.partials.eventheader.EventHeaderResources" />
|
||||
<ui:with field="dropdownitem_res" type="com.sap.sailing.gwt.home.desktop.partials.eventheader.DropdownItemResources" />
|
||||
<ui:with field="dropdownitem_res" type="com.sap.sse.gwt.client.controls.dropdown.DropdownItemResources" />
|
||||
<g:HTMLPanel addStyleNames="{res.mediaCss.grid}" debugId="EventHeaderPanel">
|
||||
<div class="{res.mediaCss.small12} {res.mediaCss.large9} {res.mediaCss.columns}">
|
||||
<div class="{local_res.css.eventheader_intro}">
|
||||
|
||||
-7
@@ -4,19 +4,12 @@ import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.resources.client.DataResource;
|
||||
import com.google.gwt.resources.client.DataResource.MimeType;
|
||||
import com.sap.sailing.gwt.home.shared.SharedHomeResources;
|
||||
import com.google.gwt.resources.client.ImageResource;
|
||||
|
||||
public interface SharedDesktopResources extends SharedHomeResources {
|
||||
|
||||
public static final SharedDesktopResources INSTANCE = GWT.create(SharedDesktopResources.class);
|
||||
|
||||
@Source("dropdown__check@2x.png")
|
||||
ImageResource dropdownCheck();
|
||||
|
||||
@Source("liveraces.svg")
|
||||
@MimeType("image/svg+xml")
|
||||
DataResource liveraces();
|
||||
|
||||
@Source("arrow-down-filled-black.png")
|
||||
ImageResource arrowDownFilledBlack();
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.sap.sailing.gwt.home.desktop.partials.eventheader;
|
||||
package com.sap.sse.gwt.client.controls.dropdown;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.AnchorElement;
|
||||
+1
-3
@@ -1,8 +1,6 @@
|
||||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder">
|
||||
<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:with field="local_res" type="com.sap.sailing.gwt.home.desktop.partials.eventheader.DropdownItemResources" />
|
||||
<ui:with field="local_res" type="com.sap.sse.gwt.client.controls.dropdown.DropdownItemResources" />
|
||||
<ui:style>
|
||||
.important {
|
||||
font-weight: bold;
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
package com.sap.sailing.gwt.home.desktop.partials.eventheader;
|
||||
package com.sap.sse.gwt.client.controls.dropdown;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.resources.client.CssResource;
|
||||
import com.sap.sailing.gwt.home.desktop.resources.SharedDesktopResources;
|
||||
import com.sap.sse.gwt.common.CommonIcons;
|
||||
|
||||
public interface DropdownItemResources extends SharedDesktopResources {
|
||||
public interface DropdownItemResources extends CommonIcons {
|
||||
public static final DropdownItemResources INSTANCE = GWT.create(DropdownItemResources.class);
|
||||
|
||||
@Source("DropdownItem.gss")
|
||||
@@ -33,4 +33,10 @@ public interface CommonIcons extends ClientBundle {
|
||||
|
||||
@Source("email-icon.png")
|
||||
ImageResource email();
|
||||
|
||||
@Source("dropdown__check@2x.png")
|
||||
ImageResource dropdownCheck();
|
||||
|
||||
@Source("arrow-down-filled-black.png")
|
||||
ImageResource arrowDownFilledBlack();
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 314 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user