mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-12 23:30:59 +00:00
working version of the image URL and video URL maintenance in EventDialog
This commit is contained in:
1 parent
7643d21723
commit
5ddffba984
5 files changed
+15
-2
No files matched your search
+7
-2
@@ -106,12 +106,13 @@ public abstract class EventDialog extends DataEntryDialog<EventDTO> {
|
||||
courseAreaNameList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(), /* suggestValues */
|
||||
SuggestedCourseAreaNames.suggestedCourseAreaNames));
|
||||
final List<String> defaultSuggestionURLs = Arrays.asList(new String[] { "http://", "https://", "http://www.", "https://www" });
|
||||
imageURLList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(),
|
||||
/* suggestValues */ Arrays.asList(new String[] { "http://", "https://" })));
|
||||
/* suggestValues */ defaultSuggestionURLs));
|
||||
videoURLList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(),
|
||||
/* suggestValues */Arrays.asList(new String[] { "http://", "https://"})));
|
||||
/* suggestValues */ defaultSuggestionURLs));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -164,6 +165,10 @@ public abstract class EventDialog extends DataEntryDialog<EventDTO> {
|
||||
|
||||
panel.add(createHeadlineLabel(stringMessages.courseAreas()));
|
||||
panel.add(courseAreaNameList);
|
||||
panel.add(createHeadlineLabel(stringMessages.imageURLs()));
|
||||
panel.add(imageURLList);
|
||||
panel.add(createHeadlineLabel(stringMessages.videoURLs()));
|
||||
panel.add(videoURLList);
|
||||
return panel;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -1035,4 +1035,6 @@ public interface StringMessages extends Messages {
|
||||
String addRaces();
|
||||
String withNamePrefix();
|
||||
String pleaseSelectASeriesFirst();
|
||||
String imageURLs();
|
||||
String videoURLs();
|
||||
}
|
||||
+2
@@ -1021,3 +1021,5 @@ leaderboardGroupsOfSelectedEvent=Leaderboard Groups Assigned to Event
|
||||
addRaces=Add races
|
||||
withNamePrefix=with name prefix
|
||||
pleaseSelectASeriesFirst=Please select a series first.
|
||||
imageURLs=Image URLs
|
||||
videoURLs=Video URLs
|
||||
+2
@@ -1015,3 +1015,5 @@ leaderboardGroupsOfSelectedEvent=Der Veranstaltung zugewiesene Ranglisten-Gruppe
|
||||
addRaces=Wettfahrten hinzufügen
|
||||
withNamePrefix=mit Namenspräfix
|
||||
pleaseSelectASeriesFirst=Bitte zuerst eine Serie auswählen.
|
||||
imageURLs=Bilder-URLs
|
||||
videoURLs=Video-URLs
|
||||
+2
@@ -975,3 +975,5 @@ leaderboardGroupsOfSelectedEvent=Leaderboard Groups Assigned to Event
|
||||
addRaces=Add races
|
||||
withNamePrefix=with name prefix
|
||||
pleaseSelectASeriesFirst=Please select a series first.
|
||||
imageURLs=Image URLs
|
||||
videoURLs=Video URLs
|
||||
Reference in new issue
Block a user