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