diff options
Diffstat (limited to 'examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/SWTUtil.java')
-rw-r--r-- | examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/SWTUtil.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/SWTUtil.java b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/SWTUtil.java index 4266bb142..e4120dd0f 100644 --- a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/SWTUtil.java +++ b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/SWTUtil.java @@ -89,30 +89,18 @@ public class SWTUtil { } } - /* - * @see DialogPage#convertHeightInCharsToPixels - */ public static int convertHeightInCharsToPixels(int chars, Control control) { return convertVerticalDLUsToPixels(chars * 8, control); } - /* - * @see DialogPage#convertHorizontalDLUsToPixels - */ public static int convertHorizontalDLUsToPixels(int dlus, Control control) { return (int)Math.round(dlus * getHorizontalDialogUnitSize(control)); } - /* - * @see DialogPage#convertVerticalDLUsToPixels - */ public static int convertVerticalDLUsToPixels(int dlus, Control control) { return (int)Math.round(dlus * getVerticalDialogUnitSize(control)); } - /* - * @see DialogPage#convertWidthInCharsToPixels - */ public static int convertWidthInCharsToPixels(int chars, Control control) { return convertHorizontalDLUsToPixels(chars * 4, control); } |