Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-09-11 03:30:58 -0400
committerLars Vogel2017-09-11 04:13:27 -0400
commit06126c5243b5c6a38d046927c3707245510e48a7 (patch)
tree5776fe8720e900501d3a1fb746aee639bbd51a1a
parent9ac2bb6a6e06deb4c19f0eae5947a8ab3629e6b7 (diff)
downloadeclipse.platform.debug-06126c5243b5c6a38d046927c3707245510e48a7.tar.gz
eclipse.platform.debug-06126c5243b5c6a38d046927c3707245510e48a7.tar.xz
eclipse.platform.debug-06126c5243b5c6a38d046927c3707245510e48a7.zip
Revert "Bug 522027 - Remove trailing whitespace from org.eclipse.ui.console"
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsole.java24
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java12
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleFactory.java4
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleListener.java10
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleManager.java38
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsolePageParticipant.java16
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink.java8
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink2.java6
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListener.java18
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListenerDelegate.java10
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/PatternMatchEvent.java14
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleHyperlinkPosition.java2
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleResourceBundleMessages.java4
13 files changed, 83 insertions, 83 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsole.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsole.java
index 85b0f30b7..7b935820d 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsole.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsole.java
@@ -31,32 +31,32 @@ import org.eclipse.ui.part.IPageBookViewPage;
* @since 3.0
*/
public interface IConsole {
-
+
/**
* Returns the name of this console.
- *
+ *
* @return the name of this console
*/
public String getName();
-
+
/**
* Returns an image descriptor for this console, or <code>null</code>
* if none.
- *
+ *
* @return an image descriptor for this console, or <code>null</code>
* if none
*/
public ImageDescriptor getImageDescriptor();
-
+
/**
* Creates and returns a new page for this console. The page is displayed
* for this console in the console given view.
- *
+ *
* @param view the view in which the page is to be created
* @return a page book view page representation of this console
*/
public IPageBookViewPage createPage(IConsoleView view);
-
+
/**
* Adds a listener for changes to properties of this console.
* Has no effect if an identical listener is already registered.
@@ -76,19 +76,19 @@ public interface IConsole {
* @param listener a property change listener
*/
public void addPropertyChangeListener(IPropertyChangeListener listener);
-
+
/**
* Removes the given property listener from this console page.
* Has no effect if an identical listener is not already registered.
- *
+ *
* @param listener a property listener
*/
- public void removePropertyChangeListener(IPropertyChangeListener listener);
-
+ public void removePropertyChangeListener(IPropertyChangeListener listener);
+
/**
* Returns a unique identifier for this console's type, or <code>null</code>
* if unspecified.
- *
+ *
* @return a unique identifier for this console's type, or <code>null</code>
* @since 3.1
*/
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java
index 33672ffa2..0da81fe60 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java
@@ -27,21 +27,21 @@ import org.eclipse.swt.custom.StyleRange;
* @since 3.1
*/
public interface IConsoleDocumentPartitioner extends IDocumentPartitioner {
-
+
/**
* Returns whether this partitioner's document is read-only at the specified
- * offset. The user is not allowed to type in read-only locations.
- *
+ * offset. The user is not allowed to type in read-only locations.
+ *
* @param offset document offset
* @return whether this partitioner's document is read-only at the specified
* offset
*/
public boolean isReadOnly(int offset);
-
+
/**
* Returns style ranges for the specified region of this partitioner's document
- * to use when rendering, or <code>null</code> if none.
- *
+ * to use when rendering, or <code>null</code> if none.
+ *
* @param offset beginning offset for which style ranges are requested
* @param length the length of text for which style ranges are requested
* @return style ranges for the specified region of this partitioner's document
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleFactory.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleFactory.java
index 5eb621333..4e27fede6 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleFactory.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleFactory.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -30,7 +30,7 @@ package org.eclipse.ui.console;
* An action appears in the console view's 'Open Console' drop-down menu with the
* corresponding <code>label</code> and optional <code>icon</code>. When the action
* is invoked, the specified <code>class</code> is instantiated and called to
- * open a console, via the method <code>openConsole()</code>.
+ * open a console, via the method <code>openConsole()</code>.
* </p>
* <p>
* Clients providing console factory extensions are intended to implement
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleListener.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleListener.java
index d75dc77ef..41aedb236 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleListener.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleListener.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,19 +19,19 @@ package org.eclipse.ui.console;
* @since 3.0
*/
public interface IConsoleListener {
-
+
/**
* Notification the given consoles have been added to the console
* manager.
- *
+ *
* @param consoles added consoles
*/
public void consolesAdded(IConsole[] consoles);
-
+
/**
* Notification the given consoles have been removed from the
* console manager.
- *
+ *
* @param consoles removed consoles
*/
public void consolesRemoved(IConsole[] consoles);
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleManager.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleManager.java
index 269c9eb4b..14ac3b8ec 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleManager.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleManager.java
@@ -12,24 +12,24 @@ package org.eclipse.ui.console;
/**
* The console manager manages registered consoles.
- * @since 3.0
+ * @since 3.0
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
*/
public interface IConsoleManager {
-
+
/**
* Registers the given listener for console notifications. Has
* no effect if an identical listener is already registered.
- *
+ *
* @param listener listener to register
*/
public void addConsoleListener(IConsoleListener listener);
-
+
/**
* Unregisters the given listener for console notifications. Has
* no effect if an identical listener is not already registered.
- *
+ *
* @param listener listener to unregister
*/
public void removeConsoleListener(IConsoleListener listener);
@@ -38,46 +38,46 @@ public interface IConsoleManager {
* Adds the given consoles to the console manager. Has no effect for
* equivalent consoles already registered. The consoles will be added
* to any existing console views.
- *
+ *
* @param consoles consoles to add
*/
public void addConsoles(IConsole[] consoles);
-
+
/**
* Removes the given consoles from the console manager. If the consoles are
* being displayed in any console views, the associated pages will be removed
* and disposed.
- *
+ *
* @param consoles consoles to remove
*/
public void removeConsoles(IConsole[] consoles);
-
+
/**
* Returns a collection of consoles registered with the console manager.
- *
+ *
* @return a collection of consoles registered with the console manager
*/
public IConsole[] getConsoles();
-
+
/**
* Opens the console view and displays given the console.
* If the view is already open, it is brought to the front unless
* the view is pinned on a console other than the given console.
* Has no effect if the given console is not currently registered.
- *
+ *
* @param console console to display
*/
public void showConsoleView(IConsole console);
-
+
/**
* Warns that the content of the given console has changed in
* all console views. Has no effect if the given console is not
* currently registered.
- *
+ *
* @param console the console that has changed
*/
public void warnOfContentChange(IConsole console);
-
+
/**
* Creates and returns a collection of new pattern match listeners enabled for
* the given console. The pattern match listeners are new instances, intended
@@ -88,20 +88,20 @@ public interface IConsoleManager {
* Console pattern match listeners are contributed via the
* <code>org.eclipse.ui.console.consolePatternMatchListeners</code> extension point.
* </p>
- *
+ *
* @param console the console for which pattern match listeners are requested
* @return a collection of new pattern match listeners
* @see IPatternMatchListener
* @since 3.1
*/
public IPatternMatchListener[] createPatternMatchListeners(IConsole console);
-
+
/**
* Requests a redraw of any visible console page containing the specified console.
- *
+ *
* @param console the console to be refreshed
* @since 3.1
*/
public void refresh(IConsole console);
-
+
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsolePageParticipant.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsolePageParticipant.java
index 4e1f4983b..a2e751438 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsolePageParticipant.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsolePageParticipant.java
@@ -20,7 +20,7 @@ import org.eclipse.ui.part.IPageBookViewPage;
* <code>org.eclispe.ui.console.consolePageParticipants</code> extension point.
* <p>
* Participant behavior is implementation dependent. For example, a page participant
- * could add actions to a console's toolbar by accessing a its page's action bars.
+ * could add actions to a console's toolbar by accessing a its page's action bars.
* </p>
* <p>
* Following is an example extension definition.
@@ -37,35 +37,35 @@ import org.eclipse.ui.part.IPageBookViewPage;
* <code>enablement</code> attribute may be specified to control which consoles
* a page participant is applicable to.
* <p>
- * Clients contributing console page participant extensions are intended to
+ * Clients contributing console page participant extensions are intended to
* implement this interface.
* </p>
* @since 3.1
*/
public interface IConsolePageParticipant extends IAdaptable {
/**
- * Called during page initialization. Marks the start of this
+ * Called during page initialization. Marks the start of this
* page participant's lifecycle.
- *
+ *
* @param page the page corresponding to the given console
* @param console the console for which a page has been created
*/
public void init(IPageBookViewPage page, IConsole console);
-
+
/**
* Disposes this page participant. Marks the end of this
* page participant's lifecycle.
*/
public void dispose();
-
+
/**
* Notification this participant's page has been activated.
*/
public void activated();
-
+
/**
* Notification this participant's page has been deactivated.
*/
public void deactivated();
-
+
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink.java
index 70c49b5cf..38aa4994c 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -18,17 +18,17 @@ package org.eclipse.ui.console;
* @since 3.1
*/
public interface IHyperlink {
-
+
/**
* Notification that the mouse has entered this link's region.
*/
public void linkEntered();
-
+
/**
* Notification that the mouse has exited this link's region
*/
public void linkExited();
-
+
/**
* Notification that this link has been activated. Performs
* context specific linking.
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink2.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink2.java
index b3999fb10..3895f1583 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink2.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink2.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,11 +22,11 @@ import org.eclipse.swt.widgets.Event;
* @since 3.2
*/
public interface IHyperlink2 extends IHyperlink {
-
+
/**
* Notification that this link has been activated. Performs
* context specific linking.
- *
+ *
* @param event the SWT event which triggered this hyperlink
*/
public void linkActivated(Event event);
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListener.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListener.java
index a8a41b57a..d3042ead2 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListener.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListener.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -34,7 +34,7 @@ package org.eclipse.ui.console;
* <li><code>class</code> - fully qualified name of the Java class implementing
* <code>org.eclipse.ui.console.IPatternMatchListenerDelegate</code></li>
* </ul>
- * </p>
+ * </p>
* <p>
* Optionally a <code>qualifier</code> attribute may be specified to improve performance
* of regular expression matching. A qualifier specifies a simple regular expression used to
@@ -55,22 +55,22 @@ package org.eclipse.ui.console;
public interface IPatternMatchListener extends IPatternMatchListenerDelegate {
/**
* Returns the pattern to be used for matching. The pattern is
- * a string representing a regular expression.
- *
+ * a string representing a regular expression.
+ *
* @return the regular expression to be used for matching
*/
public String getPattern();
-
+
/**
* Returns the flags to use when compiling this pattern match listener's
* regular expression, as defined by by <code>Pattern.compile(String regex, int flags)</code>
- *
+ *
* @return the flags to use when compiling this pattern match listener's
* regular expression
* @see java.util.regex.Pattern#compile(java.lang.String, int)
*/
public int getCompilerFlags();
-
+
/**
* Returns a simple regular expression used to identify lines that may
* match this pattern matcher's complete pattern, or <code>null</code>.
@@ -78,10 +78,10 @@ public interface IPatternMatchListener extends IPatternMatchListenerDelegate {
* from the search. When a line is found containing a match for this expression,
* the line is searched from the beginning for this pattern matcher's
* complete pattern. Lines not containing this pattern are discarded.
- *
+ *
* @return a simple regular expression used to identify lines that may
* match this pattern matcher's complete pattern, or <code>null</code>
*/
public String getLineQualifier();
-
+
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListenerDelegate.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListenerDelegate.java
index 7b96c9335..a3e60dd87 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListenerDelegate.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListenerDelegate.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -26,20 +26,20 @@ public interface IPatternMatchListenerDelegate {
/**
* Notification that pattern matching will begin in the specified console.
* A pattern matcher is connected to only one console at a time.
- *
+ *
* @param console the console in which pattern matching will be performed
*/
public void connect(TextConsole console);
-
+
/**
* Notification that pattern matching has been completed in the console
* this delegate was last connected to.
*/
public void disconnect();
-
+
/**
* Notification that a match has been found.
- *
+ *
* @param event event describing where the match was found
*/
public void matchFound(PatternMatchEvent event);
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/PatternMatchEvent.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/PatternMatchEvent.java
index 309b64b34..c4c00ff6f 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/PatternMatchEvent.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/PatternMatchEvent.java
@@ -28,12 +28,12 @@ public class PatternMatchEvent extends EventObject {
* required by EventObject for ObjectSerialization.
*/
private static final long serialVersionUID = 876890383326854537L;
-
+
/**
- * The offset of the match within the console's document.
+ * The offset of the match within the console's document.
*/
private int offset;
-
+
/**
* The length of the matched string
*/
@@ -41,7 +41,7 @@ public class PatternMatchEvent extends EventObject {
/**
* Constructs a new pattern match event.
- *
+ *
* @param console the console in which the match was found
* @param matchOffset the offset at which the match was found
* @param matchLength the length of the text that matched
@@ -54,7 +54,7 @@ public class PatternMatchEvent extends EventObject {
/**
* Returns the length of the matched string.
- *
+ *
* @return the length of the matched string
*/
public int getLength() {
@@ -63,11 +63,11 @@ public class PatternMatchEvent extends EventObject {
/**
* Returns the offset of the match within the document.
- *
+ *
* @return the offset of the match within the document
*/
public int getOffset() {
return offset;
}
-
+
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleHyperlinkPosition.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleHyperlinkPosition.java
index 306ed6810..841e2d3be 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleHyperlinkPosition.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleHyperlinkPosition.java
@@ -16,7 +16,7 @@ import org.eclipse.ui.console.IHyperlink;
/**
* Describes the position of a hyperlink within the Console's document.
- *
+ *
* @since 3.1
*/
public class ConsoleHyperlinkPosition extends Position {
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleResourceBundleMessages.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleResourceBundleMessages.java
index 1a8269a08..33b7d8568 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleResourceBundleMessages.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleResourceBundleMessages.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -30,6 +30,6 @@ public class ConsoleResourceBundleMessages {
}
public static ResourceBundle getBundle() {
- return RESOURCE_BUNDLE;
+ return RESOURCE_BUNDLE;
}
}

Back to the top