use of org.drools.workbench.screens.testscenario.client.delete.DeleteExecutionTraceButton in project drools-wb by kiegroup.
the class FixtureLayout method addDeleteExecutionTraceButtonIfNotNull.
void addDeleteExecutionTraceButtonIfNotNull(final Scenario scenario, final ExecutionTrace executionTraceToDelete, final ScenarioParentWidget parentWidgetToRender) {
if (executionTraceToDelete != null) {
final DeleteExecutionTraceButton deleteExecutionTraceButton = GWT.create(DeleteExecutionTraceButton.class);
deleteExecutionTraceButton.init(scenario, executionTraceToDelete, parentWidgetToRender);
setWidget(layoutRow, 0, deleteExecutionTraceButton);
layoutRow++;
}
}
Aggregations