* @param args
*/
public static TableController createController(ExtendedIdentitiesTableDataModel dataModel, UserRequest ureq, WindowControl wControl, ControllerEventListener listeningController, boolean actionEnabled) {
Locale loc = ureq.getLocale();
Translator trans = new PackageTranslator(PACKAGE, loc);
TableGuiConfiguration tableConfig = new TableGuiConfiguration();
tableConfig.setDownloadOffered(true);
tableConfig.setPreferencesOffered(true, "ExtendedIdentitiesTable");
tableConfig.setTableEmptyMessage(trans.translate("error.no.user.found"));
trans = UserManager.getInstance().getPropertyHandlerTranslator(trans);
TableController tableCtr = new TableController(tableConfig, ureq, wControl, trans, listeningController);
dataModel.addColumnDescriptors(tableCtr, trans);
tableCtr.setTableDataModel(dataModel);