* @param types the types of the values
* @param callback the callback function
* @return the Runnable responsible for opening the dialog
*/
public static Runnable getSelectRunnable(boolean allowMultiple, String[] labels, boolean[] enabled, boolean[] selected, int[] types, ScriptableFunction callback) {
IWebWorksDialog d = new SelectDialog(allowMultiple, labels, enabled, selected, types);
return new DialogRunnable(d, callback);
}