public void mouseOut(final ComponentWithTest component) {
if (!isEnabled()) {
return;
}
mouseStillOver = false;
final DrbdGraph drbdGraph = getBrowser().getDrbdGraph();
drbdGraph.stopTestAnimation((JComponent) component);
component.setToolTipText("");
}
@Override
public void mouseOver(final ComponentWithTest component) {
if (!isEnabled()) {
return;
}
mouseStillOver = true;
component.setToolTipText(Tools.getString("ClusterBrowser.StartingDRBDtest"));
component.setToolTipBackground(Tools.getDefaultColor("ClusterBrowser.Test.Tooltip.Background"));
Tools.sleep(250);
if (!mouseStillOver) {
return;
}
mouseStillOver = false;
final CountDownLatch startTestLatch = new CountDownLatch(1);
final DrbdGraph drbdGraph = getBrowser().getDrbdGraph();
drbdGraph.startTestAnimation((JComponent) component, startTestLatch);
getBrowser().drbdtestLockAcquire();
thisClass.setDRBDtestData(null);
apply(Application.RunMode.TEST);
final Map<Host, String> testOutput = new LinkedHashMap<Host, String>();
try {