Search in sources :

Example 1 with DMNGraphFactoryImpl

use of org.kie.workbench.common.dmn.api.factory.DMNGraphFactoryImpl in project kie-wb-common by kiegroup.

the class DMNMarshallerStandaloneTest method setup.

@Before
@SuppressWarnings("unchecked")
public void setup() throws Exception {
    api = StunnerTestingGraphBackendAPI.build(DMNDefinitionSet.class);
    api.getFactoryManager().registry().register(new DMNGraphFactoryImpl(api.getDefinitionManager(), api.getFactoryManager(), api.commandManager, api.commandFactory, new MapIndexBuilder()));
}
Also used : MapIndexBuilder(org.kie.workbench.common.stunner.core.graph.processing.index.map.MapIndexBuilder) DMNGraphFactoryImpl(org.kie.workbench.common.dmn.api.factory.DMNGraphFactoryImpl) DMNDefinitionSet(org.kie.workbench.common.dmn.api.DMNDefinitionSet) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 DMNDefinitionSet (org.kie.workbench.common.dmn.api.DMNDefinitionSet)1 DMNGraphFactoryImpl (org.kie.workbench.common.dmn.api.factory.DMNGraphFactoryImpl)1 MapIndexBuilder (org.kie.workbench.common.stunner.core.graph.processing.index.map.MapIndexBuilder)1