diff options
author | Dani Megert | 2009-07-17 12:00:07 +0000 |
---|---|---|
committer | Dani Megert | 2009-07-17 12:00:07 +0000 |
commit | b00f9839c16d9db6a60059983c21f8e0b5e63a2a (patch) | |
tree | 7b633651bd06747e49c027a29bd0455dc24ac463 | |
parent | c1f9b5b4c02611bffad3a106ee16f80df1c3f321 (diff) | |
download | eclipse.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.java | 17 |
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); |