Package org.projectforge.core

Examples of org.projectforge.core.DisplayHistoryEntry


    columns.add(new CellItemListenerPropertyColumn<DisplayHistoryEntry>(getString("history.newValue"), null, "newValue", cellItemListener) {
      @Override
      public void populateItem(final Item<ICellPopulator<DisplayHistoryEntry>> item, final String componentId,
          final IModel<DisplayHistoryEntry> rowModel)
      {
        final DisplayHistoryEntry historyEntry = rowModel.getObject();
        item.add(new DiffTextPanel(componentId, Model.of(historyEntry.getNewValue()), Model.of(historyEntry.getOldValue())));
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
    final IDataProvider<DisplayHistoryEntry> dataProvider = new ListDataProvider<DisplayHistoryEntry>(getHistory());
    final DataTable<DisplayHistoryEntry, String> dataTable = new DataTable<DisplayHistoryEntry, String>("historyTable", columns,
View Full Code Here

TOP

Related Classes of org.projectforge.core.DisplayHistoryEntry

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.