Search in sources :

Example 1 with LienzoCanvasView

use of org.kie.workbench.common.stunner.client.lienzo.canvas.LienzoCanvasView in project kie-wb-common by kiegroup.

the class SessionPreviewImpl method onOpenSuccess.

@Override
protected void onOpenSuccess() {
    super.onOpenSuccess();
    final LienzoCanvasView view = (LienzoCanvasView) getSessionHandler().getAbstractCanvas().getView();
    canvasPanel.observe((ScrollableLienzoPanel) view.getLienzoPanel());
}
Also used : LienzoCanvasView(org.kie.workbench.common.stunner.client.lienzo.canvas.LienzoCanvasView)

Aggregations

LienzoCanvasView (org.kie.workbench.common.stunner.client.lienzo.canvas.LienzoCanvasView)1