Bug 284330 [JFace] Add isVisible API to ControlDecoration
Build ID: 3.5 Steps To Reproduce: This is an enhancement request. I would like to be able to programmatically determine if a ControlDecoration is visible. This is especially useful for testing.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ControlDecoration.java
if (previousDecorationRectangle != null) {
			rect = rect.union(previousDecorationRectangle);
		}
		
		control.getShell()
				.redraw(rect.x, rect.y, rect.width, rect.height, true);
		control.getShell().update();
		if (hover != null && getDescriptionText() != null) {
			hover.setText(getDescriptionText(), getDecorationRectangle(control
					.getParent()), control);
		}
		previousDecorationRectangle = null;
	}
	/*
	 * Show the specified text in the hover, positioning the hover near the
	 * specified control.
	 */
	private void showHoverText(String text, Control hoverNear) {
		
		if (!showHover) {
			return;
		}
		
		if (!visible) {
			return;
		}
		
		if (text == null || text.length() == 0) {