Package org.olat.modules.dialog

Examples of org.olat.modules.dialog.DialogElementsTableModel


*/
  private void showOverviewTable(UserRequest ureq) {
    tableCtr = new TableController(tableConf, ureq, getWindowControl(), resourceTrans, this);
    DialogPropertyElements elements = DialogElementsPropertyManager.getInstance().findDialogElements(this.course.getCourseEnvironment().getCoursePropertyManager(), courseNode);
    List list = new ArrayList();
    DialogElementsTableModel tableModel = new DialogElementsTableModel(getTranslator(), null, null);
    if (elements != null) list = elements.getDialogPropertyElements();
    tableModel.setEntries(list);
    tableModel.addColumnDescriptors(tableCtr);
    tableCtr.setTableDataModel(tableModel);
    tableCtr.modelChanged();
    tableCtr.setSortColumn(1, true);
    content.contextPut("overview", Boolean.TRUE);
    content.put("dialogElementsTable", tableCtr.getInitialComponent());
View Full Code Here

TOP

Related Classes of org.olat.modules.dialog.DialogElementsTableModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.