use of org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.BRLConditionColumnPlugin in project drools-wb by kiegroup.
the class PluginHandler method edit.
public void edit(final BRLConditionColumn column) {
final BRLConditionColumnPlugin plugin = brlConditionColumnPlugin.get();
plugin.setOriginalColumnConfig52(column);
openWizard(plugin);
}
use of org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.BRLConditionColumnPlugin in project drools-wb by kiegroup.
the class PluginHandlerTest method testEditBrlConditionColumn.
private void testEditBrlConditionColumn(BRLConditionColumn originalColumn) {
final BRLConditionColumnPlugin plugin = spy(new BRLConditionColumnPlugin(ruleModellerPage, additionalInfoPage, event, translationService));
doReturn(wizard).when(wizardManagedInstance).get();
doReturn(plugin).when(brlConditionColumnPlugin).get();
pluginHandler.edit(originalColumn);
verify(plugin).setOriginalColumnConfig52(originalColumn);
verify(pluginHandler).openWizard(plugin);
verify(wizard).start(plugin);
}
Aggregations