Bug 113104 [hovering] Consider adapting AbstractInformationControl to new PopupDialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java
if (maxWidth > -1 && maxHeight > -1) {
			GridData gd= new GridData(GridData.FILL_BOTH);
			if (maxWidth > -1)
				gd.widthHint= maxWidth;
			if (maxHeight > -1)
				gd.heightHint= maxHeight;
			fShell.setLayoutData(gd);
		}
	}
	/**
	 * {@inheritDoc}
	 */
	public Point computeSizeHint() {
		return fShell.computeSize(SWT.DEFAULT, SWT.DEFAULT);
	}
	/**
	 * {@inheritDoc}
	 * @since 3.0
	 */
	public Rectangle getBounds() {
		return fBounds;
	}
	/*
	 * @see org.eclipse.jface.text.IInformationControlExtension3#restoresLocation()
	 */
	public boolean restoresLocation() {
		return !getDialogSettings().getBoolean(STORE_DISABLE_RESTORE_LOCATION);
	}
	/*
	 * @see org.eclipse.jface.text.IInformationControlExtension3#restoresSize()