diff options
author | Lars Vogel | 2019-11-14 08:32:31 +0000 |
---|---|---|
committer | Lars Vogel | 2019-11-14 08:32:31 +0000 |
commit | 7be790e400bb2d02a352e9b9b36313497e43b527 (patch) | |
tree | e13dfc273d32cd7a2e8291b334a14ca888f9a556 /org.eclipse.ui.editors | |
parent | f287323df9eee66578972d2fe839c1967723855b (diff) | |
download | eclipse.platform.text-7be790e400bb2d02a352e9b9b36313497e43b527.tar.gz eclipse.platform.text-7be790e400bb2d02a352e9b9b36313497e43b527.tar.xz eclipse.platform.text-7be790e400bb2d02a352e9b9b36313497e43b527.zip |
Whitespace removal for plug-ins in platform.text
Done via running the cleanup action on the code base
Change-Id: Ia04eb1b87ab8e9b66125c646fca817a193851e85
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.ui.editors')
18 files changed, 81 insertions, 81 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java index fd6172f4b4a..7d71655c7a9 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java @@ -99,7 +99,7 @@ public class DefaultEncodingSupport implements IEncodingSupport { } } }; - + prefs.addPreferenceChangeListener(fPreferenceChangeListener); } diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java index 95c092604f0..ae54de33dde 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java @@ -93,7 +93,7 @@ public final class EditorsUI { * To access the general preference from another plug-in use a * {@link org.eclipse.ui.texteditor.ChainedPreferenceStore}: * </p> - * + * * <pre> * List stores= new ArrayList(3); * stores.add(YourPlugin.getDefault().getPreferenceStore()); @@ -118,7 +118,7 @@ public final class EditorsUI { * To access the general preference from another plug-in use a * {@link org.eclipse.ui.texteditor.ChainedPreferenceStore}: * </p> - * + * * <pre> * List stores= new ArrayList(3); * stores.add(YourPlugin.getDefault().getPreferenceStore()); @@ -146,7 +146,7 @@ public final class EditorsUI { /** * Returns the preferences of this plug-in. - * + * * @return the plug-in preferences * @see org.eclipse.core.runtime.Plugin#getPluginPreferences() * @deprecated As of 3.5, replaced by {@link #getPreferenceStore()} diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java index 01eb46f7207..7ef3e03c31f 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java @@ -48,7 +48,7 @@ import org.eclipse.ui.texteditor.TextEditorAction; /** * Action group for encoding actions. - * + * * @since 2.0 * @deprecated As of 3.1, encoding needs to be changed via properties dialog. This class is planned * for removal after March 2021 (see bug#544309 for details). diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java index c2798ab3430..8d240930f15 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java @@ -152,7 +152,7 @@ public class FileBufferOperationAction extends Action implements IWorkbenchWindo /** * Collect the files to process. This method may show a dialog to ask the user. * Subclasses may extend or reimplement. - * + * * @param resources selected resources * @return the files to process, can be <code>null</code> */ diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java index b092b806f3c..a7c000ab478 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java @@ -60,7 +60,7 @@ import org.eclipse.ui.PlatformUI; * @since 3.1 */ public class FileBufferOperationHandler extends AbstractHandler { - + private IFileBufferOperation fFileBufferOperation; private IWorkbenchWindow fWindow; private IResource[] fResources; diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java index 4cbd745c3a6..22c9f54c897 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java @@ -75,5 +75,5 @@ public interface ITextEditorHelpContextIds extends IAbstractTextEditorHelpContex * @since 3.6 */ String ACCESSIBILITY_PREFERENCE_PAGE= PREFIX + "accessibility_preference_page_context"; //$NON-NLS-1$ - + } diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java index ab09e71a1cf..20e252f1eb6 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java @@ -55,7 +55,7 @@ public class TextEditor extends AbstractDecoratedTextEditor { /** * Creates a new text editor. - * + * * @see #initializeEditor() * @see #initializeKeyBindingScopes() */ diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java index 4c2ac4fe7f4..1852d2c32b7 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java @@ -62,7 +62,7 @@ public class ContributionContextTypeRegistry extends ContextTypeRegistry { /** * Creates a new context type registry and registers all context types contributed for the given * registry ID. - * + * * @param registryId the registry ID * @since 3.5 */ @@ -81,7 +81,7 @@ public class ContributionContextTypeRegistry extends ContextTypeRegistry { /** * Registers all context types contributed for the given registry ID. - * + * * @param registryId the registry ID * @since 3.5 */ diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java index a0b6eea45d4..6c984ce70b0 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java @@ -101,7 +101,7 @@ public class ConvertLineDelimitersAction extends FileBufferOperationAction { @Override protected Composite createSelectionButtonGroup(Composite parent) { Composite buttonGroup= super.createSelectionButtonGroup(parent); - + final Button button = new Button(buttonGroup, SWT.CHECK); ((GridLayout) buttonGroup.getLayout()).numColumns++; button.setText(TextEditorMessages.ConvertLineDelimitersAction_show_only_text_files); @@ -114,7 +114,7 @@ public class ConvertLineDelimitersAction extends FileBufferOperationAction { refresh(); } }); - + return buttonGroup; } }; @@ -126,7 +126,7 @@ public class ConvertLineDelimitersAction extends FileBufferOperationAction { } return null; } - + private String getDialogTitle() { return NLSUtility.format(TextEditorMessages.ConvertLineDelimitersAction_dialog_title, fLabel); } diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java index c3f5fec0a20..83ab9a36ba0 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java @@ -214,7 +214,7 @@ class QuickDiffConfigurationBlock implements IPreferenceConfigurationBlock { messageLabel.setFont(font); return messageComposite; } - + /** * Creates page for hover preferences. * @@ -350,7 +350,7 @@ class QuickDiffConfigurationBlock implements IPreferenceConfigurationBlock { } }); - + fQuickDiffProviderNote= createNoteComposite(parent.getFont(), editorComposite, TextEditorMessages.QuickDiffConfigurationBlock_referenceProviderNoteTitle, TextEditorMessages.QuickDiffConfigurationBlock_referenceProviderNoteMessage); gd= new GridData(SWT.BEGINNING, SWT.FILL, false, true); diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java index fe63c93786c..8a757b5574f 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java @@ -255,7 +255,7 @@ class SelectResourcesBlock implements ICheckStateListener, ISelectionChangedList gc.dispose(); return width; } - + /** * Returns a boolean indicating whether the passed tree element should be at * LEAST gray-checked. Note that this method does not consider whether it @@ -677,7 +677,7 @@ class SelectResourcesBlock implements ICheckStateListener, ISelectionChangedList listViewer.setAllChecked(selection); }); } - + public void refresh() { //Potentially long operation - show a busy cursor BusyIndicator.showWhile(treeViewer.getControl().getDisplay(), () -> { @@ -851,13 +851,13 @@ class SelectResourcesBlock implements ICheckStateListener, ISelectionChangedList // Update the store before the hierarchy to prevent updating parents // before all of the children are done - + for (Entry<IContainer, List<Object>> entry : items.entrySet()) { Object key = entry.getKey(); primeHierarchyForSelection(key, selectedNodes); checkedStateStore.put(key, entry.getValue()); } - + // Update the checked tree items. Since each tree item has a selected // item, all the tree items will be gray checked. diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java index eece2dcc2ac..11f4c4c1f46 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java @@ -91,7 +91,7 @@ class SelectResourcesDialog extends Dialog { fResourceGroup.refresh(); setSelection(fInput, fAcceptableLocationsFilter); } - + public IResource[] getSelectedResources() { List<Object> items= fResourceGroup.getAllCheckedListItems(); return items.toArray(new IResource[items.size()]); @@ -221,7 +221,7 @@ class SelectResourcesDialog extends Dialog { selectTypesButton.addSelectionListener(listener); selectTypesButton.setFont(font); setButtonLayoutData(selectTypesButton); - + return buttonComposite; } diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java index 426e158375a..a5aae89e351 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java @@ -578,7 +578,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements /** * Sets or clears the error message. If not <code>null</code>, the OK button is disabled. - * + * * @param errorMessage the error message, or <code>null</code> to clear * @since 3.0 */ @@ -880,7 +880,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements final IntegerDomain printMarginDomain= new IntegerDomain(20, 200); final Control[] printMarginControls= addTextField(appearanceComposite, printMarginColumn, printMarginDomain, 15, 20); createDependency(showPrintMarginButton, showPrintMargin, printMarginControls); - + label= TextEditorMessages.TextEditorPreferencePage_printMarginAllowOverride; Preference printMarginAllowOverride= new Preference(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN_ALLOW_OVERRIDE, label, null); final Button showPrintMarginAllowOverride= addCheckBox(appearanceComposite, printMarginAllowOverride, new BooleanDomain(), 0); @@ -962,7 +962,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements Preference maxCodeMinings= new Preference(AnnotationCodeMiningPreferenceConstants.SHOW_ANNOTATION_CODE_MINING_MAX, label, description); IntegerDomain maxCodeMiningsDomain= new IntegerDomain(0, 99999); Control[] maxCodeMiningsControls= addTextField(appearanceComposite, maxCodeMinings, maxCodeMiningsDomain, 15, 20); - + final SelectionListener codeMiningsListener= new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { @@ -1091,7 +1091,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements int dimensions= 10; Image image= new Image(tableComposite.getParent().getDisplay(), dimensions, dimensions); GC gc= new GC(image); - // Draw color preview + // Draw color preview gc.setBackground(color); gc.fillRectangle(0, 0, dimensions, dimensions); // Draw outline around color preview @@ -1460,7 +1460,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements /** * Returns the currently selected item in the Appearance Color Options Table. - * + * * @return {@link ColorEntry} the ColorEntry representing the currently selected item in the * table */ diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java index 604865342e1..645b72b2ec7 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java @@ -81,7 +81,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio private Font fStatusTextFont; /** * The color of the optional status text label or <code>null</code> if none. - * + * * @since 3.6 */ private Color fStatusTextForegroundColor; @@ -208,7 +208,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio Assert.isLegal(bg != null); Assert.isLegal(fg != null); Assert.isLegal(factor >= 0f && factor <= 1f); - + float complement= 1f - factor; return new RGB( (int) (complement * bg.red + factor * fg.red), @@ -216,7 +216,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio (int) (complement * bg.blue + factor * fg.blue) ); } - + /* * @see org.eclipse.jface.text.IInformationControlExtension2#setInput(java.lang.Object) */ @@ -256,7 +256,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio if (fStatusTextForegroundColor != null && !fStatusTextForegroundColor.isDisposed()) fStatusTextForegroundColor.dispose(); fStatusTextForegroundColor= null; - + fTextFont= null; fShell= null; fText= null; diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java index bccb48b91a2..bda3e236bd4 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java @@ -226,7 +226,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Preference key that controls whether to use saturated colors in the overview ruler. - * + * * @since 3.8 */ private static final String USE_SATURATED_COLORS_IN_OVERVIEW_RULER= AbstractDecoratedTextEditorPreferenceConstants.USE_SATURATED_COLORS_IN_OVERVIEW_RULER; @@ -314,7 +314,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { * @since 3.6 */ private boolean fIsComingFromGotoMarker= false; - + /** * Tells whether editing the current derived editor input is allowed. * @since 3.3 @@ -342,7 +342,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Creates a new text editor. - * + * * @see #initializeEditor() * @see #initializeKeyBindingScopes() */ @@ -655,7 +655,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Checks if the preference to use saturated colors is enabled for the overview ruler. - * + * * @return <code>true</code> if the saturated colors preference is enabled, <code>false</code> * otherwise * @since 3.8 @@ -962,7 +962,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { if (fSourceViewerDecorationSupport == null) { fSourceViewerDecorationSupport= new SourceViewerDecorationSupport(viewer, getOverviewRuler(), getAnnotationAccess(), getSharedColors()); configureSourceViewerDecorationSupport(fSourceViewerDecorationSupport); - + // Fix for overridden print margin column, see https://bugs.eclipse.org/468307 if (!getPreferenceStore().getBoolean(PRINT_MARGIN_ALLOW_OVERRIDE)) fSourceViewerDecorationSupport.setMarginPainterPreferenceKeys(PRINT_MARGIN, PRINT_MARGIN_COLOR, PRINT_MARGIN_COLUMN); @@ -1268,7 +1268,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { // Override print action to provide additional options if (getAction(ITextEditorActionConstants.PRINT).isEnabled() && getSourceViewer() instanceof ITextViewerExtension8) createPrintAction(); - + action= new ResourceAction(TextEditorMessages.getBundleForConstructedKeys(), "Editor.ShowChangeRulerInformation.", IAction.AS_PUSH_BUTTON) { //$NON-NLS-1$ @Override public void run() { @@ -1291,27 +1291,27 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Opens a sticky change ruler hover for the caret line. Does nothing if no change hover is * available. - * + * * @since 3.5 */ private void showChangeRulerInformation() { IVerticalRuler ruler= getVerticalRuler(); if (!(ruler instanceof CompositeRuler) || fLineColumn == null) return; - + CompositeRuler compositeRuler= (CompositeRuler)ruler; // fake a mouse move (some hovers rely on this to determine the hovered line): int x= fLineColumn.getControl().getLocation().x; - + ISourceViewer sourceViewer= getSourceViewer(); StyledText textWidget= sourceViewer.getTextWidget(); int caretOffset= textWidget.getCaretOffset(); int caretLine= textWidget.getLineAtOffset(caretOffset); int y= textWidget.getLinePixel(caretLine); - + compositeRuler.setLocationOfLastMouseButtonActivity(x, y); - + IAnnotationHover hover= fLineColumn.getHover(); showFocusedRulerHover(hover, sourceViewer, caretOffset); } @@ -1319,39 +1319,39 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Opens a sticky annotation ruler hover for the caret line. Does nothing if no annotation hover * is available. - * + * * @since 3.6 */ private void showRulerAnnotationInformation() { ISourceViewer sourceViewer= getSourceViewer(); IAnnotationHover hover= getSourceViewerConfiguration().getAnnotationHover(sourceViewer); int caretOffset= sourceViewer.getTextWidget().getCaretOffset(); - + showFocusedRulerHover(hover, sourceViewer, caretOffset); } /** * Shows a focused hover at the specified offset. * Does nothing if <code>hover</code> is <code>null</code> or cannot be shown. - * + * * @param hover the hover to be shown, can be <code>null</code> * @param sourceViewer the source viewer * @param caretOffset the caret offset - * + * * @since 3.6 */ private void showFocusedRulerHover(IAnnotationHover hover, ISourceViewer sourceViewer, int caretOffset) { if (hover == null) return; - + int modelCaretOffset= widgetOffset2ModelOffset(sourceViewer, caretOffset); if (modelCaretOffset == -1) return; - + IDocument document= sourceViewer.getDocument(); if (document == null) return; - + try { int line= document.getLineOfOffset(modelCaretOffset); if (fInformationPresenter == null) { @@ -1639,7 +1639,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { * Overrides the default behavior by showing a more advanced error dialog in case of encoding * problems. * </p> - * + * * @param title the dialog title * @param message the message to display * @param exception the exception to handle @@ -1657,7 +1657,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { final int saveAsUTF8ButtonId= IDialogConstants.OK_ID + IDialogConstants.CANCEL_ID + 1; final int selectUnmappableCharButtonId= saveAsUTF8ButtonId + 1; final Charset charset= getCharset(); - + ErrorDialog errorDialog= new ErrorDialog(getSite().getShell(), title, message, status, IStatus.ERROR) { @Override @@ -1721,7 +1721,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Returns the charset of the current editor input. - * + * * @return the charset of the current editor input or <code>null</code> if it fails * @since 3.6 */ @@ -2023,7 +2023,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Selects and reveals the given offset and length in the given editor part. - * + * * @param editor the editor part * @param offset the offset * @param length the length @@ -2105,7 +2105,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { /** * Returns the Show In target list - * + * * @return the IShowInTargetList adapter, or <code>null</code> if no targets are listed */ private IShowInTargetList getShowInTargetList() { @@ -2122,7 +2122,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { * <p> * Subclasses may extend or replace. * </p> - * + * * @return the preference page ids to show, may be empty * @since 3.1 */ @@ -2146,7 +2146,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { * <p> * Subclasses may extend or replace. * </p> - * + * * @return the preference page ids to show, may be empty * @since 3.1 */ @@ -2164,7 +2164,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor { * <p> * Subclasses may extend or replace. * </p> - * + * * @return the preference page ids to show, may be empty * @since 3.4 */ diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java index e896f53dfba..9aba18eb126 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java @@ -98,7 +98,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * Value is of type <code>Boolean</code>. If <code>true</code>, the editor removes multiple * spaces. * </p> - * + * * @since 3.13 */ public final static String EDITOR_DELETE_SPACES_AS_TABS= "removeSpacesAsTabs"; //$NON-NLS-1$ @@ -149,7 +149,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * The preference value is of type <code>boolean</code>. * </p> - * + * * @noreference This field is not intended to be referenced by clients. */ public final static String EDITOR_PRINT_MARGIN_ALLOW_OVERRIDE= "printMarginAllowOverride"; //$NON-NLS-1$ @@ -215,7 +215,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * The preference value is of type <code>Boolean</code>. * </p> - * + * * @since 3.12 */ public final static String EDITOR_SHOW_CARET_OFFSET= AbstractTextEditor.PREFERENCE_SHOW_CARET_OFFSET; @@ -226,7 +226,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * The preference value is of type <code>Boolean</code>. * </p> - * + * * @since 3.12 */ public final static String EDITOR_SHOW_SELECTION_SIZE= AbstractTextEditor.PREFERENCE_SHOW_SELECTION_SIZE; @@ -238,7 +238,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * The preference value is of type <code>String</code>. A RGB color value encoded as a string * using class <code>PreferenceConverter</code>. * </p> - * + * * @see org.eclipse.jface.resource.StringConverter * @see PreferenceConverter * @see #EDITOR_LINE_NUMBER_RULER @@ -311,7 +311,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. If <code>true</code>, saturated colors are used * </p> - * + * * @since 3.8 * @see org.eclipse.jface.text.source.IOverviewRulerExtension#setUseSaturatedColors(boolean) */ @@ -412,7 +412,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * The preference value is of type <code>Boolean</code>. * </p> - * + * * @since 3.5 */ public final static String EDITOR_HYPERLINK_COLOR_SYSTEM_DEFAULT= DefaultHyperlinkPresenter.HYPERLINK_COLOR_SYSTEM_DEFAULT; @@ -458,7 +458,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * <p> * The following preferences can be used for fine-grained configuration when enabled. * </p> @@ -476,7 +476,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <li>{@link #EDITOR_SHOW_LINE_FEED}</li> * <li>{@link #EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE}</li> * </ul> - * + * * @since 3.3 */ public static final String EDITOR_SHOW_WHITESPACE_CHARACTERS= AbstractTextEditor.PREFERENCE_SHOW_WHITESPACE_CHARACTERS; @@ -487,7 +487,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_LEADING_SPACES= AbstractTextEditor.PREFERENCE_SHOW_LEADING_SPACES; @@ -498,7 +498,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_ENCLOSED_SPACES= AbstractTextEditor.PREFERENCE_SHOW_ENCLOSED_SPACES; @@ -509,7 +509,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_TRAILING_SPACES= AbstractTextEditor.PREFERENCE_SHOW_TRAILING_SPACES; @@ -521,7 +521,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_LEADING_IDEOGRAPHIC_SPACES= AbstractTextEditor.PREFERENCE_SHOW_LEADING_IDEOGRAPHIC_SPACES; @@ -533,7 +533,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES= AbstractTextEditor.PREFERENCE_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES; @@ -545,7 +545,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_TRAILING_IDEOGRAPHIC_SPACES= AbstractTextEditor.PREFERENCE_SHOW_TRAILING_IDEOGRAPHIC_SPACES; @@ -556,7 +556,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_LEADING_TABS= AbstractTextEditor.PREFERENCE_SHOW_LEADING_TABS; @@ -567,7 +567,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_ENCLOSED_TABS= AbstractTextEditor.PREFERENCE_SHOW_ENCLOSED_TABS; @@ -578,7 +578,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_TRAILING_TABS= AbstractTextEditor.PREFERENCE_SHOW_TRAILING_TABS; @@ -589,7 +589,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_CARRIAGE_RETURN= AbstractTextEditor.PREFERENCE_SHOW_CARRIAGE_RETURN; @@ -600,7 +600,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Boolean</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_SHOW_LINE_FEED= AbstractTextEditor.PREFERENCE_SHOW_LINE_FEED; @@ -611,7 +611,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants { * <p> * Value is of type <code>Integer</code>. * </p> - * + * * @since 3.7 */ public static final String EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE= AbstractTextEditor.PREFERENCE_WHITESPACE_CHARACTER_ALPHA_VALUE; diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java index 36515a9e052..6ae21ad81bf 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java @@ -64,7 +64,7 @@ public class ChangeEncodingAction extends TextEditorAction { /** * Creates a new action for the given text editor. - * + * * @param editor the text editor * @see TextEditorAction#TextEditorAction(ResourceBundle, String, ITextEditor) * @since 3.5 @@ -76,7 +76,7 @@ public class ChangeEncodingAction extends TextEditorAction { /** * Creates a new action for the given text editor. The action configures its visual * representation from the given resource bundle. - * + * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys (described in * <code>ResourceAction</code> constructor), or <code>null</code> if none diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java index d4079afe78f..0a9ea8f372f 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java @@ -59,7 +59,7 @@ import org.eclipse.ui.views.markers.MarkerViewUtil; * <p> * This class may be instantiated but is not intended for sub-classing. * </p> - * + * * @since 2.0, allowed to be subclassed since 3.5 */ public class SelectMarkerRulerAction extends ResourceAction implements IUpdate { |