@Test public void testDoInit() { final DMNGridLayer gridLayer = control.getGridLayer(); assertNotNull(gridLayer); control.doInit(); assertEquals(gridLayer, control.getGridLayer()); }
@Override protected void doInit() { withCanvasHandler(abstractCanvasHandler -> { abstractCanvasHandler.addRegistrationListener(redrawElementListener); abstractCanvasHandler.addDomainObjectListener(redrawDomainObjectListener); }); }
DMNGridLayerControlImpl extends AbstractCanvasControl<AbstractCanvas> implements DMNGridLayerControl { @Override protected void doInit() { withCanvasHandler(abstractCanvasHandler -> { abstractCanvasHandler.addRegistrationListener(redrawElementListener); abstractCanvasHandler.addDomainObjectListener(redrawDomainObjectListener); }); } }
DMNGridLayerControlImpl extends AbstractCanvasControl<AbstractCanvas> implements DMNGridLayerControl { @Override protected void doInit() { withCanvasHandler(abstractCanvasHandler -> { abstractCanvasHandler.addRegistrationListener(redrawElementListener); abstractCanvasHandler.addDomainObjectListener(redrawDomainObjectListener); }); } DMNGridLayerControlImpl(); }
DMNGridLayerControlImpl extends AbstractCanvasControl<AbstractCanvas> implements DMNGridLayerControl { @Override protected void doInit() { withCanvasHandler(abstractCanvasHandler -> { abstractCanvasHandler.addRegistrationListener(redrawElementListener); abstractCanvasHandler.addDomainObjectListener(redrawDomainObjectListener); }); } DMNGridLayerControlImpl(); @Override void bind(final ClientSession session); @Override DMNGridLayer getGridLayer(); }
DMNGridLayerControlImpl extends AbstractCanvasControl<AbstractCanvas> implements DMNGridLayerControl { @Override protected void doInit() { withCanvasHandler(abstractCanvasHandler -> { abstractCanvasHandler.addRegistrationListener(redrawElementListener); abstractCanvasHandler.addDomainObjectListener(redrawDomainObjectListener); }); } DMNGridLayerControlImpl(); @Override void bind(final ClientSession session); @Override DMNGridLayer getGridLayer();  }