|
|
@ -122,11 +122,12 @@ public abstract class UIListGroupControlPane extends UIControlPane implements Li |
|
|
|
|
|
|
|
|
|
|
|
protected void populateNameObjects(Widget widget) { |
|
|
|
protected void populateNameObjects(Widget widget) { |
|
|
|
ArrayList<NameObject> nameObjectList = new ArrayList<>(); |
|
|
|
ArrayList<NameObject> nameObjectList = new ArrayList<>(); |
|
|
|
for (int i = 0, j = 0, size = widget.getListenerSize(); i < size; i++) { |
|
|
|
for (int i = 0, size = widget.getListenerSize(); i < size; i++) { |
|
|
|
Listener listener = widget.getListener(i); |
|
|
|
Listener listener = widget.getListener(i); |
|
|
|
if (!listener.isDefault()) { |
|
|
|
if (!listener.isDefault()) { |
|
|
|
nameObjectList.add(j, new NameObject(switchLang(listener.getEventName()) + (j + 1), listener)); |
|
|
|
String eventName = switchLang(listener.getEventName()) + (nameObjectList.size() + 1); |
|
|
|
j++; |
|
|
|
NameObject nameObject = new NameObject(eventName, listener); |
|
|
|
|
|
|
|
nameObjectList.add(nameObject); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
populate(getHelper().processCatalog(nameObjectList)); |
|
|
|
populate(getHelper().processCatalog(nameObjectList)); |
|
|
|