String valuePath = Context.toString(valuePathArg);
String labelPath = Context.toString(labelPathArg);
((SelectableWidget)delegate).setSelectionList(arg, valuePath, labelPath);
} else {
if (arg instanceof SelectionList) {
SelectionList selectionList = (SelectionList)arg;
((SelectableWidget)delegate).setSelectionList(selectionList);
} else {
String str = Context.toString(arg);
((SelectableWidget)delegate).setSelectionList(str);
}