@Test public void testBind() { control.bind(session); assertNotNull(control.getMousePanMediator()); }
@Override public void bind(final DMNSession session) { final DMNGridLayer gridLayer = session.getGridLayer(); this.mousePanMediator = new RestrictedMousePanMediator(gridLayer); }
MousePanMediatorControlImpl extends AbstractCanvasControl<AbstractCanvas> implements MousePanMediatorControl { @Override public void bind(final DMNSession session) { final DMNGridLayer gridLayer = session.getGridLayer(); this.mousePanMediator = new RestrictedMousePanMediator(gridLayer); } }
MousePanMediatorControlImpl extends AbstractCanvasControl<AbstractCanvas> implements MousePanMediatorControl { @Override public void bind(final DMNSession session) { final DMNGridLayer gridLayer = session.getGridLayer(); this.mousePanMediator = new RestrictedMousePanMediator(gridLayer); }  }
MousePanMediatorControlImpl extends AbstractCanvasControl<AbstractCanvas> implements MousePanMediatorControl { @Override public void bind(final DMNSession session) { final DMNGridLayer gridLayer = session.getGridLayer(); this.mousePanMediator = new RestrictedMousePanMediator(gridLayer); }  @Override void bind(final DMNSession session); @Override RestrictedMousePanMediator getMousePanMediator(); }
MousePanMediatorControlImpl extends AbstractCanvasControl<AbstractCanvas> implements MousePanMediatorControl { @Override public void bind(final DMNSession session) { final DMNGridLayer gridLayer = session.getGridLayer(); this.mousePanMediator = new RestrictedMousePanMediator(gridLayer); }  @Override void bind(final DMNSession session); @Override RestrictedMousePanMediator getMousePanMediator();  }