Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 230246
Collapse All | Expand All

(-)src/org/eclipse/jface/window/ToolTip.java (-6 / +8 lines)
Lines 353-364 Link Here
353
		if (!tip.isDisposed()) {
353
		if (!tip.isDisposed()) {
354
			currentArea = getToolTipArea(event);
354
			currentArea = getToolTipArea(event);
355
			createToolTipContentArea(event, tip);
355
			createToolTipContentArea(event, tip);
356
			if (isHideOnMouseDown()) {
356
			
357
				toolTipHookBothRecursively(tip);
358
			} else {
359
				toolTipHookByTypeRecursively(tip, true, SWT.MouseExit);
360
			}
361
362
			tip.pack();
357
			tip.pack();
363
			Point size = tip.getSize();
358
			Point size = tip.getSize();
364
			Point location = fixupDisplayBounds(size, getLocation(size, event));
359
			Point location = fixupDisplayBounds(size, getLocation(size, event));
Lines 372-377 Link Here
372
			}
367
			}
373
368
374
			tip.setLocation(location);
369
			tip.setLocation(location);
370
			
371
			if (isHideOnMouseDown()) {
372
				toolTipHookBothRecursively(tip);
373
			} else {
374
				toolTipHookByTypeRecursively(tip, true, SWT.MouseExit);
375
			}
376
			
375
			tip.setVisible(true);
377
			tip.setVisible(true);
376
		}
378
		}
377
	}
379
	}

Return to bug 230246