@Override protected void presentInformation() { if (fMouseTracker == null) { super.presentInformation(); return; } Rectangle area= getSubjectArea(); if (area != null) fMouseTracker.setSubjectArea(area); if (fMouseTracker.isMouseLost()) { fMouseTracker.computationCompleted(); fMouseTracker.deactivate(); } else { fMouseTracker.computationCompleted(); super.presentInformation(); } }
@Override protected void presentInformation() { if (fMouseTracker == null) { super.presentInformation(); return; } Rectangle area= getSubjectArea(); if (area != null) fMouseTracker.setSubjectArea(area); if (fMouseTracker.isMouseLost()) { fMouseTracker.computationCompleted(); fMouseTracker.deactivate(); } else { fMouseTracker.computationCompleted(); super.presentInformation(); } }
@Override public void shellDeactivated(ShellEvent e) { fShellDeactivatedWhileComputing= true; deactivate(); }
@Override public void mouseMove(MouseEvent event) { if (!hasInformationControlReplacer() || !canMoveIntoInformationControl(getCurrentInformationControl())) { if (!fSubjectArea.contains(event.x, event.y)) deactivate(); } else { if (!inKeepUpZone(event.x, event.y, fSubjectControl, fSubjectArea, false)) deactivate(); } }
@Override public void mouseExit(MouseEvent e) { if (!hasInformationControlReplacer() || !canMoveIntoInformationControl(getCurrentInformationControl()) || !inKeepUpZone(e.x, e.y, fSubjectControl, fSubjectArea, false)) { fMouseLostWhileComputing= true; deactivate(); } }
@Override public void shellIconified(ShellEvent e) { fShellDeactivatedWhileComputing= true; deactivate(); }
@Override public void mouseMove(MouseEvent event) { if (!hasInformationControlReplacer() || !canMoveIntoInformationControl(getCurrentInformationControl())) { if (!fSubjectArea.contains(event.x, event.y)) deactivate(); } else { if (!inKeepUpZone(event.x, event.y, fSubjectControl, fSubjectArea, false)) deactivate(); } }
@Override public void mouseExit(MouseEvent e) { if (!hasInformationControlReplacer() || !canMoveIntoInformationControl(getCurrentInformationControl()) || !inKeepUpZone(e.x, e.y, fSubjectControl, fSubjectArea, false)) { fMouseLostWhileComputing= true; deactivate(); } }
@Override public void shellIconified(ShellEvent e) { fShellDeactivatedWhileComputing= true; deactivate(); }
@Override public void shellDeactivated(ShellEvent e) { fShellDeactivatedWhileComputing= true; deactivate(); }