Search in sources :

Example 1 with DeleteExecutionTraceButton

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++;
    }
}
Also used : DeleteExecutionTraceButton(org.drools.workbench.screens.testscenario.client.delete.DeleteExecutionTraceButton)

Aggregations

DeleteExecutionTraceButton (org.drools.workbench.screens.testscenario.client.delete.DeleteExecutionTraceButton)1