@Test public void testNotCompletedWorkItemNode() { ProcessInstanceLogSummary model = createModel("WorkItemNode", "workItemTask", false, true); view.setValue(model); verify(logIcon).setAttribute("data-original-title", "System task"); verify(logIcon).setClassName("list-view-pf-icon-sm kie-timeline-list-view-pf-icon-sm fa fa-cogs"); verify(logInfo).setTextContent("(System) node was ENTERED"); verify(logTypeDesc).setTextContent("WorkItemNode 'workItemTask' "); verify(detailsPanelDiv).setHidden(false); verifySystemTaskDetails(model); }
@Override public void setValue(final ProcessInstanceLogSummary model) { logSummary.setModel(model); setLogTime(model.getDate()); setLogIcon(model); setLogInfo(model); setLogType(model); setDetails(model); }
ProcessInstanceLogItemView extends AbstractLogItemView<ProcessInstanceLogPresenter> implements TakesValue<ProcessInstanceLogSummary>,
                   IsElement { @Override public void setValue(final ProcessInstanceLogSummary model) { logSummary.setModel(model); setLogTime(model.getDate()); setLogIcon(model); setLogInfo(model); setLogType(model); setDetails(model); } }
ProcessInstanceLogItemView extends AbstractLogItemView<ProcessInstanceLogPresenter> implements TakesValue<ProcessInstanceLogSummary>,
                   IsElement { @Override public void setValue(final ProcessInstanceLogSummary model) { logSummary.setModel(model); setLogTime(model.getDate()); setLogIcon(model); setLogInfo(model); setLogType(model); setDetails(model); }  }
ProcessInstanceLogItemView extends AbstractLogItemView<ProcessInstanceLogPresenter> implements TakesValue<ProcessInstanceLogSummary>,
                   IsElement { @Override public void setValue(final ProcessInstanceLogSummary model) { logSummary.setModel(model); setLogTime(model.getDate()); setLogIcon(model); setLogInfo(model); setLogType(model); setDetails(model); }  @Override ProcessInstanceLogSummary getValue(); @Override void setValue(final ProcessInstanceLogSummary model); @EventHandler("detailsLink") void loadProcessInstanceLogsDetails(final @ForEvent("click") MouseEvent event); }
ProcessInstanceLogItemView extends AbstractLogItemView<ProcessInstanceLogPresenter> implements TakesValue<ProcessInstanceLogSummary>,
                   IsElement { @Override public void setValue(final ProcessInstanceLogSummary model) { logSummary.setModel(model); setLogTime(model.getDate()); setLogIcon(model); setLogInfo(model); setLogType(model); setDetails(model); }  @Override ProcessInstanceLogSummary getValue(); @Override void setValue(final ProcessInstanceLogSummary model); @EventHandler("detailsLink") void loadProcessInstanceLogsDetails(final @ForEvent("click") MouseEvent event);  }