Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2009-07-17 12:00:07 +0000
committerDani Megert2009-07-17 12:00:07 +0000
commitb00f9839c16d9db6a60059983c21f8e0b5e63a2a (patch)
tree7b633651bd06747e49c027a29bd0455dc24ac463
parentc1f9b5b4c02611bffad3a106ee16f80df1c3f321 (diff)
downloadeclipse.platform.text-b00f9839c16d9db6a60059983c21f8e0b5e63a2a.tar.gz
eclipse.platform.text-b00f9839c16d9db6a60059983c21f8e0b5e63a2a.tar.xz
eclipse.platform.text-b00f9839c16d9db6a60059983c21f8e0b5e63a2a.zip
Clarified the usage of the dialog font.
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java17
1 files changed, 10 insertions, 7 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java
index 4a66db2bc74..18f1abd5b5d 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java
@@ -444,16 +444,19 @@ public abstract class AbstractInformationControl implements IInformationControl,
* {@link Composite#getForeground()} from <code>parent</code>.
* </p>
* <p>
- * Implementors are expected to consider {@link #isResizable()}: If
- * <code>true</code>, they should show scrollbars if their content may
- * exceed the size of the information control. If <code>false</code>,
- * they should never show scrollbars.
+ * Implementors must either use the dialog font or override
+ * {@link #computeSizeConstraints(int, int)}.
* </p>
* <p>
- * The given <code>parent</code> comes with a {@link FillLayout}.
- * Subclasses may set a different layout.
+ * Implementors are expected to consider {@link #isResizable()}: If <code>true</code>, they
+ * should show scrollbars if their content may exceed the size of the information control. If
+ * <code>false</code>, they should never show scrollbars.
* </p>
- *
+ * <p>
+ * The given <code>parent</code> comes with a {@link FillLayout}. Subclasses may set a different
+ * layout.
+ * </p>
+ *
* @param parent the container of the content
*/
protected abstract void createContent(Composite parent);

Back to the top