diff options
author | Dani Megert | 2008-08-26 14:13:28 +0000 |
---|---|---|
committer | Dani Megert | 2008-08-26 14:13:28 +0000 |
commit | 79f56bc4dc02ac17a2551f00fe5a77c8695c06ca (patch) | |
tree | 0b5a4374fa7597954c9179e22eda82af018e60fb /org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java | |
parent | 7cf852d27f88fa7f7905004439c5e5106c21d0c0 (diff) | |
download | eclipse.platform.text-79f56bc4dc02ac17a2551f00fe5a77c8695c06ca.tar.gz eclipse.platform.text-79f56bc4dc02ac17a2551f00fe5a77c8695c06ca.tar.xz eclipse.platform.text-79f56bc4dc02ac17a2551f00fe5a77c8695c06ca.zip |
Warn about missing description for all standard tags.
Diffstat (limited to 'org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java')
-rwxr-xr-x | org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java | 77 |
1 files changed, 35 insertions, 42 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java index 84df80df9fe..f1bdb144ec8 100755 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/LinkedModeConfigurationBlock.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -55,11 +55,11 @@ import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.viewers.ViewerComparator; -import org.eclipse.ui.editors.text.EditorsUI; - import org.eclipse.ui.texteditor.AnnotationPreference; import org.eclipse.ui.texteditor.MarkerAnnotationPreferences; +import org.eclipse.ui.editors.text.EditorsUI; + /** * Configures the linked mode preferences. The preferences belong to * org.eclipse.ui.editors. However, as they are chiefly used in the java editor, @@ -370,22 +370,19 @@ class LinkedModeConfigurationBlock implements IPreferenceConfigurationBlock { */ public void applyData(Object data) { } - + /** - * Returns the number of pixels corresponding to the width of the given - * number of characters. - * <p> - * This method may only be called after <code>initializeDialogUnits</code> - * has been called. - * </p> - * <p> - * Clients may call this framework method, but should not override it. - * </p> - * - * @param chars - * the number of characters - * @return the number of pixels - */ + * Returns the number of pixels corresponding to the width of the given number of characters. + * <p> + * This method may only be called after <code>initializeDialogUnits</code> has been called. + * </p> + * <p> + * Clients may call this framework method, but should not override it. + * </p> + * + * @param chars the number of characters + * @return the number of pixels + */ protected int convertWidthInCharsToPixels(int chars) { // test for failure to initialize for backward compatibility if (fFontMetrics == null) @@ -394,37 +391,33 @@ class LinkedModeConfigurationBlock implements IPreferenceConfigurationBlock { } /** - * Returns the number of pixels corresponding to the height of the given - * number of characters. - * <p> - * This method may only be called after <code>initializeDialogUnits</code> - * has been called. - * </p> - * <p> - * Clients may call this framework method, but should not override it. - * </p> - * - * @param chars - * the number of characters - * @return the number of pixels - */ + * Returns the number of pixels corresponding to the height of the given number of characters. + * <p> + * This method may only be called after <code>initializeDialogUnits</code> has been called. + * </p> + * <p> + * Clients may call this framework method, but should not override it. + * </p> + * + * @param chars the number of characters + * @return the number of pixels + */ protected int convertHeightInCharsToPixels(int chars) { // test for failure to initialize for backward compatibility if (fFontMetrics == null) return 0; return Dialog.convertHeightInCharsToPixels(fFontMetrics, chars); } + /** - * Initializes the computation of horizontal and vertical dialog units based - * on the size of current font. - * <p> - * This method must be called before any of the dialog unit based conversion - * methods are called. - * </p> - * - * @param testControl - * a control from which to obtain the current font - */ + * Initializes the computation of horizontal and vertical dialog units based on the size of + * current font. + * <p> + * This method must be called before any of the dialog unit based conversion methods are called. + * </p> + * + * @param testControl a control from which to obtain the current font + */ protected void initializeDialogUnits(Control testControl) { // Compute and store a font metric GC gc = new GC(testControl); |