use of org.kie.workbench.common.stunner.client.lienzo.canvas.LienzoLayer in project kie-wb-common by kiegroup.
the class WiresCanvasViewTest method setup.
@Before
public void setup() {
this.wiresManagerFactory = spy(new WiresManagerFactoryImpl(new StunnerWiresControlFactory(), new StunnerWiresHandlerFactory()));
this.canvas = new WiresCanvasView(this.wiresManagerFactory);
this.panel = new LienzoPanel(100, 100);
this.layer = new LienzoLayer();
this.canvas.init();
this.canvas.show(panel, 100, 100, layer);
}
Aggregations