mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 14:38:45 +00:00
added the minute flags for the SWC start procedure to the server side flag images resources
This commit is contained in:
+7
-1
@@ -26,7 +26,13 @@ public enum Flags {
|
||||
AP,
|
||||
ESSONE,
|
||||
ESSTWO,
|
||||
ESSTHREE;
|
||||
ESSTHREE,
|
||||
SWC_ZERO,
|
||||
SWC_ONE,
|
||||
SWC_TWO,
|
||||
SWC_THREE,
|
||||
SWC_FOUR,
|
||||
SWC_FIVE;
|
||||
|
||||
public static Flags[] validValues() {
|
||||
List<Flags> validValues = new ArrayList<Flags>();
|
||||
|
||||
+6
@@ -39,6 +39,12 @@ public class FlagImageResolver {
|
||||
flagImageMap.put(Flags.XRAY, resources.flagXray());
|
||||
flagImageMap.put(Flags.ZULU, resources.flagZulu());
|
||||
flagImageMap.put(Flags.OSCAR, resources.flagOscar());
|
||||
flagImageMap.put(Flags.SWC_ZERO, resources.flagEssOne());
|
||||
flagImageMap.put(Flags.SWC_ONE, resources.flagSWCOne());
|
||||
flagImageMap.put(Flags.SWC_TWO, resources.flagSWCTwo());
|
||||
flagImageMap.put(Flags.SWC_THREE, resources.flagSWCThree());
|
||||
flagImageMap.put(Flags.SWC_FOUR, resources.flagSWCFour());
|
||||
flagImageMap.put(Flags.SWC_FIVE, resources.flagSWCFive());
|
||||
}
|
||||
|
||||
public ImageResource resolveFlagToImage(Flags flag, boolean isDisplayed, boolean displayStateChanged) {
|
||||
|
||||
+18
@@ -72,4 +72,22 @@ interface RegattaRaceStatesFlagsResources extends ClientBundle {
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/down.png")
|
||||
ImageResource arrowDown();
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/swc_zero.png")
|
||||
ImageResource flagSWCZero();
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/swc_one.png")
|
||||
ImageResource flagSWCOne();
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/swc_two.png")
|
||||
ImageResource flagSWCTwo();
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/swc_three.png")
|
||||
ImageResource flagSWCThree();
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/swc_four.png")
|
||||
ImageResource flagSWCFour();
|
||||
|
||||
@Source("com/sap/sailing/gwt/ui/client/images/flags/flags_racecommittee/swc_five.png")
|
||||
ImageResource flagSWCFive();
|
||||
}
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 659 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 522 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 390 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 751 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 512 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 232 B |
Reference in New Issue
Block a user