Examples of DiffTextPanel


Examples of org.projectforge.web.wicket.flowlayout.DiffTextPanel

      @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

Examples of org.projectforge.web.wicket.flowlayout.DiffTextPanel

          StringHelper.append(buf, first, delta.getPropertyName(), "; ");
          first = StringHelper.append(oldValue, first, delta.getPropertyName(), "; ");
          buf.append("=").append(delta.getNewValue());
          oldValue.append("=").append(delta.getOldValue());
        }
        final DiffTextPanel diffTextPanel = new DiffTextPanel("value", Model.of(buf.toString()), Model.of(oldValue.toString()));
        addCell(cellRepeater, diffTextPanel, style);
      } else {
        addCell(cellRepeater, "", null);
      }
      if (element.isFaulty() == true) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.