Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2018-05-15 10:09:25 +0000
committerKarsten Thoms2018-06-12 11:55:45 +0000
commitc3fa4bb709369ecf9e7b73b32adf7656440eb348 (patch)
tree956c544c2b74d72aad7b73cd2b6d12214c3cea22 /org.eclipse.ui.console
parent5261274d3002fc135becdccca36a2a1ddd06aa3f (diff)
downloadeclipse.platform.debug-c3fa4bb709369ecf9e7b73b32adf7656440eb348.tar.gz
eclipse.platform.debug-c3fa4bb709369ecf9e7b73b32adf7656440eb348.tar.xz
eclipse.platform.debug-c3fa4bb709369ecf9e7b73b32adf7656440eb348.zip
Bug 534681 - Remove redundant modifiers in org.eclipse.ui.console
Change-Id: I4440110007ff79c48e1e99ce5cfaee0c00a37f97 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsole.java12
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java43
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java4
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleFactory.java2
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleListener.java4
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleManager.java18
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsolePageParticipant.java8
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleView.java23
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink.java6
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IHyperlink2.java2
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListener.java6
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IPatternMatchListenerDelegate.java6
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IScrollLockStateProvider.java8
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IConsoleHelpContextIds.java30
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IInternalConsoleConstants.java30
15 files changed, 99 insertions, 103 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..d065fadcd 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
@@ -37,7 +37,7 @@ public interface IConsole {
*
* @return the name of this console
*/
- public String getName();
+ String getName();
/**
* Returns an image descriptor for this console, or <code>null</code>
@@ -46,7 +46,7 @@ public interface IConsole {
* @return an image descriptor for this console, or <code>null</code>
* if none
*/
- public ImageDescriptor getImageDescriptor();
+ ImageDescriptor getImageDescriptor();
/**
* Creates and returns a new page for this console. The page is displayed
@@ -55,7 +55,7 @@ public interface IConsole {
* @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);
+ IPageBookViewPage createPage(IConsoleView view);
/**
* Adds a listener for changes to properties of this console.
@@ -75,7 +75,7 @@ public interface IConsole {
*
* @param listener a property change listener
*/
- public void addPropertyChangeListener(IPropertyChangeListener listener);
+ void addPropertyChangeListener(IPropertyChangeListener listener);
/**
* Removes the given property listener from this console page.
@@ -83,7 +83,7 @@ public interface IConsole {
*
* @param listener a property listener
*/
- public void removePropertyChangeListener(IPropertyChangeListener listener);
+ void removePropertyChangeListener(IPropertyChangeListener listener);
/**
* Returns a unique identifier for this console's type, or <code>null</code>
@@ -92,6 +92,6 @@ public interface IConsole {
* @return a unique identifier for this console's type, or <code>null</code>
* @since 3.1
*/
- public String getType();
+ String getType();
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java
index 7df3fa27a..754d3c4eb 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java
@@ -23,18 +23,18 @@ public interface IConsoleConstants {
/**
* Console plug-in identifier (value <code>"org.eclipse.ui.console"</code>).
*/
- public static final String PLUGIN_ID = ConsolePlugin.getUniqueIdentifier();
+ String PLUGIN_ID = ConsolePlugin.getUniqueIdentifier();
/**
* Console view identifier (value <code>"org.eclipse.ui.console.ConsoleView"</code>).
*/
- public static final String ID_CONSOLE_VIEW= "org.eclipse.ui.console.ConsoleView"; //$NON-NLS-1$
+ String ID_CONSOLE_VIEW= "org.eclipse.ui.console.ConsoleView"; //$NON-NLS-1$
/**
* Type identifier for MessageConsole
* @since 3.1
*/
- public static final String MESSAGE_CONSOLE_TYPE = "org.eclipse.ui.MessageConsole"; //$NON-NLS-1$
+ String MESSAGE_CONSOLE_TYPE = "org.eclipse.ui.MessageConsole"; //$NON-NLS-1$
/**
* The name of the font to use for the Console (value <code>"org.eclipse.ui.console.ConsoleFont"</code>).
@@ -43,35 +43,34 @@ public interface IConsoleConstants {
* by <code>JFaceResources.TEXT_FONT</code>. Clients must provide their own infrastructure to
* manage console specific fonts.
*/
- @Deprecated
- public static final String CONSOLE_FONT= "org.eclipse.ui.console.ConsoleFont"; //$NON-NLS-1$
+ @Deprecated String CONSOLE_FONT= "org.eclipse.ui.console.ConsoleFont"; //$NON-NLS-1$
/**
* Menu group identifier for the console view context menu and toolbar, for actions pertaining to
* launching (value <code>"launchGroup"</code>).
*/
- public static final String LAUNCH_GROUP = "launchGroup"; //$NON-NLS-1$
+ String LAUNCH_GROUP = "launchGroup"; //$NON-NLS-1$
/**
* Menu group identifier for the console view context menu and toolbar, for actions pertaining to
* console output. (value<code>"outputGroup"</code>).
*/
- public static final String OUTPUT_GROUP = "outputGroup"; //$NON-NLS-1$
+ String OUTPUT_GROUP = "outputGroup"; //$NON-NLS-1$
/**
* Console view image identifier.
*/
- public static final String IMG_VIEW_CONSOLE= "IMG_VIEW_CONSOLE"; //$NON-NLS-1$
+ String IMG_VIEW_CONSOLE= "IMG_VIEW_CONSOLE"; //$NON-NLS-1$
/**
* Clear action image identifier.
*/
- public static final String IMG_LCL_CLEAR= "IMG_LCL_CLEAR"; //$NON-NLS-1$
+ String IMG_LCL_CLEAR= "IMG_LCL_CLEAR"; //$NON-NLS-1$
/**
* Status code indicating an unexpected internal error.
*/
- public static final int INTERNAL_ERROR = 120;
+ int INTERNAL_ERROR = 120;
/**
* Console pattern match listeners extension point identifier
@@ -79,7 +78,7 @@ public interface IConsoleConstants {
*
* @since 3.1
*/
- public static final String EXTENSION_POINT_CONSOLE_PATTERN_MATCH_LISTENERS = "consolePatternMatchListeners"; //$NON-NLS-1$
+ String EXTENSION_POINT_CONSOLE_PATTERN_MATCH_LISTENERS = "consolePatternMatchListeners"; //$NON-NLS-1$
/**
* Console page participants extension point identifier
@@ -87,7 +86,7 @@ public interface IConsoleConstants {
*
* @since 3.1
*/
- public static final String EXTENSION_POINT_CONSOLE_PAGE_PARTICIPANTS = "consolePageParticipants"; //$NON-NLS-1$
+ String EXTENSION_POINT_CONSOLE_PAGE_PARTICIPANTS = "consolePageParticipants"; //$NON-NLS-1$
/**
* Console factories extension point identifier
@@ -95,49 +94,49 @@ public interface IConsoleConstants {
*
* @since 3.1
*/
- public static final String EXTENSION_POINT_CONSOLE_FACTORIES = "consoleFactories"; //$NON-NLS-1$
+ String EXTENSION_POINT_CONSOLE_FACTORIES = "consoleFactories"; //$NON-NLS-1$
/**
* Property constant indicating a console's font has changed.
*
* @since 3.1
*/
- public static final String P_FONT = ConsolePlugin.getUniqueIdentifier() + ".P_FONT"; //$NON-NLS-1$
+ String P_FONT = ConsolePlugin.getUniqueIdentifier() + ".P_FONT"; //$NON-NLS-1$
/**
* Property constant indicating that a font style has changed
*
* @since 3.1
*/
- public static final String P_FONT_STYLE = ConsolePlugin.getUniqueIdentifier() + ".P_FONT_STYLE"; //$NON-NLS-1$
+ String P_FONT_STYLE = ConsolePlugin.getUniqueIdentifier() + ".P_FONT_STYLE"; //$NON-NLS-1$
/**
* Property constant indicating the color of a stream has changed.
*
* @since 3.1
*/
- public static final String P_STREAM_COLOR = ConsolePlugin.getUniqueIdentifier() + ".P_STREAM_COLOR"; //$NON-NLS-1$
+ String P_STREAM_COLOR = ConsolePlugin.getUniqueIdentifier() + ".P_STREAM_COLOR"; //$NON-NLS-1$
/**
* Property constant indicating tab size has changed
*
* @since 3.1
*/
- public static final String P_TAB_SIZE = ConsolePlugin.getUniqueIdentifier() + ".P_TAB_SIZE"; //$NON-NLS-1$
+ String P_TAB_SIZE = ConsolePlugin.getUniqueIdentifier() + ".P_TAB_SIZE"; //$NON-NLS-1$
/**
* Property constant indicating the user preference for auto scroll lock enabling.
*
* @since 3.8
*/
- public static final String P_CONSOLE_AUTO_SCROLL_LOCK = ConsolePlugin.getUniqueIdentifier() + ".P_CONSOLE_AUTO_SCROLL_LOCK"; //$NON-NLS-1$
+ String P_CONSOLE_AUTO_SCROLL_LOCK = ConsolePlugin.getUniqueIdentifier() + ".P_CONSOLE_AUTO_SCROLL_LOCK"; //$NON-NLS-1$
/**
* Property constant indicating the width of a fixed width console has changed.
*
* @since 3.1
*/
- public static final String P_CONSOLE_WIDTH = ConsolePlugin.getUniqueIdentifier() + ".P_CONSOLE_WIDTH"; //$NON-NLS-1$
+ String P_CONSOLE_WIDTH = ConsolePlugin.getUniqueIdentifier() + ".P_CONSOLE_WIDTH"; //$NON-NLS-1$
/**
* Property constant indicating that all streams connected to this console have been closed
@@ -145,20 +144,20 @@ public interface IConsoleConstants {
*
* @since 3.1
*/
- public static final String P_CONSOLE_OUTPUT_COMPLETE = ConsolePlugin.getUniqueIdentifier() + ".P_CONSOLE_STREAMS_CLOSED"; //$NON-NLS-1$
+ String P_CONSOLE_OUTPUT_COMPLETE = ConsolePlugin.getUniqueIdentifier() + ".P_CONSOLE_STREAMS_CLOSED"; //$NON-NLS-1$
/**
* Property constant indicating the background color of a console has changed.
*
* @since 3.3
*/
- public static final String P_BACKGROUND_COLOR = ConsolePlugin.getUniqueIdentifier() + ".P_BACKGROUND_COLOR"; //$NON-NLS-1$
+ String P_BACKGROUND_COLOR = ConsolePlugin.getUniqueIdentifier() + ".P_BACKGROUND_COLOR"; //$NON-NLS-1$
/**
* The default tab size for text consoles.
*
* @since 3.1
*/
- public static final int DEFAULT_TAB_SIZE = 8;
+ int DEFAULT_TAB_SIZE = 8;
}
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 25146aea8..fb65d49e9 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
@@ -36,7 +36,7 @@ public interface IConsoleDocumentPartitioner extends IDocumentPartitioner {
* @return whether this partitioner's document is read-only at the specified
* offset
*/
- public boolean isReadOnly(int offset);
+ boolean isReadOnly(int offset);
/**
* Returns style ranges for the specified region of this partitioner's document
@@ -47,5 +47,5 @@ public interface IConsoleDocumentPartitioner extends IDocumentPartitioner {
* @return style ranges for the specified region of this partitioner's document
* to use when rendering, or <code>null</code> if none
*/
- public StyleRange[] getStyleRanges(int offset, int length);
+ StyleRange[] getStyleRanges(int offset, int length);
}
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 b32d5f19c..51bbbd114 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
@@ -43,6 +43,6 @@ public interface IConsoleFactory {
* Opens a console in the console view. Implementations may create a new
* console or activate an existing console.
*/
- public void openConsole();
+ void openConsole();
}
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..b8b6a7c2d 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
@@ -26,7 +26,7 @@ public interface IConsoleListener {
*
* @param consoles added consoles
*/
- public void consolesAdded(IConsole[] consoles);
+ void consolesAdded(IConsole[] consoles);
/**
* Notification the given consoles have been removed from the
@@ -34,6 +34,6 @@ public interface IConsoleListener {
*
* @param consoles removed consoles
*/
- public void consolesRemoved(IConsole[] consoles);
+ 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 e203d2f94..658fb81ec 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
@@ -24,7 +24,7 @@ public interface IConsoleManager {
*
* @param listener listener to register
*/
- public void addConsoleListener(IConsoleListener listener);
+ void addConsoleListener(IConsoleListener listener);
/**
* Unregisters the given listener for console notifications. Has
@@ -32,7 +32,7 @@ public interface IConsoleManager {
*
* @param listener listener to unregister
*/
- public void removeConsoleListener(IConsoleListener listener);
+ void removeConsoleListener(IConsoleListener listener);
/**
* Adds the given consoles to the console manager. Has no effect for
@@ -41,7 +41,7 @@ public interface IConsoleManager {
*
* @param consoles consoles to add
*/
- public void addConsoles(IConsole[] consoles);
+ void addConsoles(IConsole[] consoles);
/**
* Removes the given consoles from the console manager. If the consoles are
@@ -50,14 +50,14 @@ public interface IConsoleManager {
*
* @param consoles consoles to remove
*/
- public void removeConsoles(IConsole[] consoles);
+ 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();
+ IConsole[] getConsoles();
/**
* Opens the console view and displays given the console.
@@ -67,7 +67,7 @@ public interface IConsoleManager {
*
* @param console console to display
*/
- public void showConsoleView(IConsole console);
+ void showConsoleView(IConsole console);
/**
* Warns that the content of the given console has changed in
@@ -76,7 +76,7 @@ public interface IConsoleManager {
*
* @param console the console that has changed
*/
- public void warnOfContentChange(IConsole console);
+ void warnOfContentChange(IConsole console);
/**
* Creates and returns a collection of new pattern match listeners enabled for
@@ -94,7 +94,7 @@ public interface IConsoleManager {
* @see IPatternMatchListener
* @since 3.1
*/
- public IPatternMatchListener[] createPatternMatchListeners(IConsole console);
+ IPatternMatchListener[] createPatternMatchListeners(IConsole console);
/**
* Requests a redraw of any visible console page containing the specified console.
@@ -102,6 +102,6 @@ public interface IConsoleManager {
* @param console the console to be refreshed
* @since 3.1
*/
- public void refresh(IConsole console);
+ 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 a48fc0380..29268266b 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
@@ -50,22 +50,22 @@ public interface IConsolePageParticipant extends IAdaptable {
* @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);
+ void init(IPageBookViewPage page, IConsole console);
/**
* Disposes this page participant. Marks the end of this
* page participant's lifecycle.
*/
- public void dispose();
+ void dispose();
/**
* Notification this participant's page has been activated.
*/
- public void activated();
+ void activated();
/**
* Notification this participant's page has been deactivated.
*/
- public void deactivated();
+ void deactivated();
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleView.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleView.java
index 596db8c7d..b6b61a358 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleView.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleView.java
@@ -27,7 +27,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
*
* @param console console to display, cannot be <code>null</code>
*/
- public void display(IConsole console);
+ void display(IConsole console);
/**
* Pins this console view. No other console page will be displayed until
@@ -37,7 +37,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* top of the stack, <code>false</code> otherwise
* @since 3.1
*/
- public void setPinned(boolean pin);
+ void setPinned(boolean pin);
/**
* Displays and pins the given console in this console view. No
@@ -48,8 +48,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* @deprecated rather than pinning a specific console, a console view is
* pinned - use <code>setPinned(boolean)</code>
*/
- @Deprecated
- public void pin(IConsole console);
+ @Deprecated void pin(IConsole console);
/**
* Returns whether this console view is currently pinned to a
@@ -58,7 +57,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* @return whether this console view is currently pinned to a
* specific console
*/
- public boolean isPinned();
+ boolean isPinned();
/**
* Returns the console currently being displayed, or <code>null</code>
@@ -67,14 +66,14 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* @return the console currently being displayed, or <code>null</code>
* if none
*/
- public IConsole getConsole();
+ IConsole getConsole();
/**
* Warns that the content of the given console has changed.
*
* @param console the console that has changed
*/
- public void warnOfContentChange(IConsole console);
+ void warnOfContentChange(IConsole console);
/**
* Sets the scroll lock state of the currently active console.
@@ -82,8 +81,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* @param scrollLock <code>true</code> to turn scroll lock on, otherwise <code>false</code>
* @since 3.1
*/
- @Override
- public void setScrollLock(boolean scrollLock);
+ @Override void setScrollLock(boolean scrollLock);
/**
* Returns the scroll lock state of the currently active console.
@@ -91,8 +89,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* @return <code>true</code> if scroll lock is on, <code>false</code> otherwise
* @since 3.1
*/
- @Override
- public boolean getScrollLock();
+ @Override boolean getScrollLock();
/**
* Sets the word wrap state of the currently active console.
@@ -101,7 +98,7 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* <code>false</code>
* @since 3.6
*/
- public void setWordWrap(boolean wordWrap);
+ void setWordWrap(boolean wordWrap);
/**
* Returns the word wrap state of the currently active console.
@@ -110,6 +107,6 @@ public interface IConsoleView extends IViewPart, IScrollLockStateProvider {
* otherwise
* @since 3.6
*/
- public boolean getWordWrap();
+ boolean getWordWrap();
}
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..25798c503 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
@@ -22,16 +22,16 @@ public interface IHyperlink {
/**
* Notification that the mouse has entered this link's region.
*/
- public void linkEntered();
+ void linkEntered();
/**
* Notification that the mouse has exited this link's region
*/
- public void linkExited();
+ void linkExited();
/**
* Notification that this link has been activated. Performs
* context specific linking.
*/
- public void linkActivated();
+ void linkActivated();
}
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..f470368f7 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
@@ -29,5 +29,5 @@ public interface IHyperlink2 extends IHyperlink {
*
* @param event the SWT event which triggered this hyperlink
*/
- public void linkActivated(Event event);
+ 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 2eed22e00..ce23aa40c 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
@@ -59,7 +59,7 @@ public interface IPatternMatchListener extends IPatternMatchListenerDelegate {
*
* @return the regular expression to be used for matching
*/
- public String getPattern();
+ String getPattern();
/**
* Returns the flags to use when compiling this pattern match listener's
@@ -69,7 +69,7 @@ public interface IPatternMatchListener extends IPatternMatchListenerDelegate {
* regular expression
* @see java.util.regex.Pattern#compile(java.lang.String, int)
*/
- public int getCompilerFlags();
+ int getCompilerFlags();
/**
* Returns a simple regular expression used to identify lines that may
@@ -82,6 +82,6 @@ public interface IPatternMatchListener extends IPatternMatchListenerDelegate {
* @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();
+ 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 57784de0d..712c2e712 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
@@ -29,18 +29,18 @@ public interface IPatternMatchListenerDelegate {
*
* @param console the console in which pattern matching will be performed
*/
- public void connect(TextConsole console);
+ void connect(TextConsole console);
/**
* Notification that pattern matching has been completed in the console
* this delegate was last connected to.
*/
- public void disconnect();
+ void disconnect();
/**
* Notification that a match has been found.
*
* @param event event describing where the match was found
*/
- public void matchFound(PatternMatchEvent event);
+ void matchFound(PatternMatchEvent event);
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IScrollLockStateProvider.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IScrollLockStateProvider.java
index 0028e4a58..452f8c06c 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IScrollLockStateProvider.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IScrollLockStateProvider.java
@@ -29,7 +29,7 @@ public interface IScrollLockStateProvider {
* @param scrollLock <code>true</code> to turn scroll lock on, otherwise
* <code>false</code>
*/
- public void setScrollLock(boolean scrollLock);
+ void setScrollLock(boolean scrollLock);
/**
@@ -39,7 +39,7 @@ public interface IScrollLockStateProvider {
* @return <code>true</code> if scroll lock is on, <code>false</code>
* otherwise
*/
- public boolean getScrollLock();
+ boolean getScrollLock();
/**
* Sets the auto-scroll lock state, e.g. when the user moves the caret
@@ -48,7 +48,7 @@ public interface IScrollLockStateProvider {
* @param scrollLock <code>true</code> to turn auto-scroll lock on,
* otherwise <code>false</code>
*/
- public void setAutoScrollLock(boolean scrollLock);
+ void setAutoScrollLock(boolean scrollLock);
/**
* Returns the auto-scroll lock state.
@@ -57,5 +57,5 @@ public interface IScrollLockStateProvider {
* @return <code>true</code> if auto-scroll lock is on, <code>false</code>
* otherwise
*/
- public boolean getAutoScrollLock();
+ boolean getAutoScrollLock();
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IConsoleHelpContextIds.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IConsoleHelpContextIds.java
index 480e407ff..c0f70e444 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IConsoleHelpContextIds.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IConsoleHelpContextIds.java
@@ -23,26 +23,26 @@ import org.eclipse.ui.console.IConsoleConstants;
*/
public interface IConsoleHelpContextIds {
- public static final String PREFIX = IConsoleConstants.PLUGIN_ID + "."; //$NON-NLS-1$
+ String PREFIX = IConsoleConstants.PLUGIN_ID + "."; //$NON-NLS-1$
// Actions
- public static final String CLEAR_CONSOLE_ACTION = PREFIX + "clear_console_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_SCROLL_LOCK_ACTION = PREFIX + "console_scroll_lock_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_WORD_WRAP_ACTION = PREFIX + "console_word_wrap_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_SELECT_ALL_ACTION = PREFIX + "console_select_all_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_COPY_ACTION = PREFIX + "copy_to_clipboard_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_CUT_ACTION = PREFIX + "console_cut_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_PASTE_ACTION = PREFIX + "console_paste_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_FIND_REPLACE_ACTION = PREFIX + "console_find_replace_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_OPEN_LINK_ACTION = PREFIX + "console_open_link_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_OPEN_CONSOLE_ACTION = PREFIX + "console_open_console_action_context"; //$NON-NLS-1$
- public static final String CONSOLE_DISPLAY_CONSOLE_ACTION = PREFIX + "console_display_console_action"; //$NON-NLS-1$
- public static final String CONSOLE_PIN_CONSOLE_ACITON = PREFIX + "console_pin_console_action"; //$NON-NLS-1$
+ String CLEAR_CONSOLE_ACTION = PREFIX + "clear_console_action_context"; //$NON-NLS-1$
+ String CONSOLE_SCROLL_LOCK_ACTION = PREFIX + "console_scroll_lock_action_context"; //$NON-NLS-1$
+ String CONSOLE_WORD_WRAP_ACTION = PREFIX + "console_word_wrap_action_context"; //$NON-NLS-1$
+ String CONSOLE_SELECT_ALL_ACTION = PREFIX + "console_select_all_action_context"; //$NON-NLS-1$
+ String CONSOLE_COPY_ACTION = PREFIX + "copy_to_clipboard_action_context"; //$NON-NLS-1$
+ String CONSOLE_CUT_ACTION = PREFIX + "console_cut_action_context"; //$NON-NLS-1$
+ String CONSOLE_PASTE_ACTION = PREFIX + "console_paste_action_context"; //$NON-NLS-1$
+ String CONSOLE_FIND_REPLACE_ACTION = PREFIX + "console_find_replace_action_context"; //$NON-NLS-1$
+ String CONSOLE_OPEN_LINK_ACTION = PREFIX + "console_open_link_action_context"; //$NON-NLS-1$
+ String CONSOLE_OPEN_CONSOLE_ACTION = PREFIX + "console_open_console_action_context"; //$NON-NLS-1$
+ String CONSOLE_DISPLAY_CONSOLE_ACTION = PREFIX + "console_display_console_action"; //$NON-NLS-1$
+ String CONSOLE_PIN_CONSOLE_ACITON = PREFIX + "console_pin_console_action"; //$NON-NLS-1$
// Views
- public static final String CONSOLE_VIEW = PREFIX + "console_view_context"; //$NON-NLS-1$
+ String CONSOLE_VIEW = PREFIX + "console_view_context"; //$NON-NLS-1$
// Preference pages
- public static final String CONSOLE_PREFERENCE_PAGE = PREFIX + "console_preference_page_context"; //$NON-NLS-1$
+ String CONSOLE_PREFERENCE_PAGE = PREFIX + "console_preference_page_context"; //$NON-NLS-1$
}
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IInternalConsoleConstants.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IInternalConsoleConstants.java
index d29005b43..bbf5a36bd 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IInternalConsoleConstants.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IInternalConsoleConstants.java
@@ -14,23 +14,23 @@ package org.eclipse.ui.internal.console;
public interface IInternalConsoleConstants {
// tool images
- public static final String IMG_LCL_PIN = "IMG_LCL_PIN"; //$NON-NLS-1$
- public static final String IMG_LCL_LOCK = "IMG_LCL_LOCK"; //$NON-NLS-1$
- public static final String IMG_LCL_WRAP = "IMG_LCL_WRAP"; //$NON-NLS-1$
+ String IMG_LCL_PIN = "IMG_LCL_PIN"; //$NON-NLS-1$
+ String IMG_LCL_LOCK = "IMG_LCL_LOCK"; //$NON-NLS-1$
+ String IMG_LCL_WRAP = "IMG_LCL_WRAP"; //$NON-NLS-1$
// disabled local tool images
- public static final String IMG_DLCL_PIN = "IMG_DLCL_PIN"; //$NON-NLS-1$
- public static final String IMG_DLCL_CLEAR= "IMG_DLCL_CLEAR"; //$NON-NLS-1$
- public static final String IMG_DLCL_LOCK = "IMG_DLCL_LOCK"; //$NON-NLS-1$
- public static final String IMG_DLCL_WRAP = "IMG_DLCL_WRAP"; //$NON-NLS-1$
- public static final String IMG_DLCL_CLOSE = "IMG_DLCL_CLOSE"; //$NON-NLS-1$
- public static final String IMG_DLCL_NEW_CON = "IMG_DLCL_NEW_CON"; //$NON-NLS-1$
+ String IMG_DLCL_PIN = "IMG_DLCL_PIN"; //$NON-NLS-1$
+ String IMG_DLCL_CLEAR= "IMG_DLCL_CLEAR"; //$NON-NLS-1$
+ String IMG_DLCL_LOCK = "IMG_DLCL_LOCK"; //$NON-NLS-1$
+ String IMG_DLCL_WRAP = "IMG_DLCL_WRAP"; //$NON-NLS-1$
+ String IMG_DLCL_CLOSE = "IMG_DLCL_CLOSE"; //$NON-NLS-1$
+ String IMG_DLCL_NEW_CON = "IMG_DLCL_NEW_CON"; //$NON-NLS-1$
// enabled local tool images
- public static final String IMG_ELCL_PIN = "IMG_ELCL_PIN"; //$NON-NLS-1$
- public static final String IMG_ELCL_CLEAR= "IMG_ELCL_CLEAR"; //$NON-NLS-1$
- public static final String IMG_ELCL_LOCK = "IMG_ELCL_LOCK"; //$NON-NLS-1$
- public static final String IMG_ELCL_WRAP = "IMG_ELCL_WRAP"; //$NON-NLS-1$
- public static final String IMG_ELCL_CLOSE = "IMG_ELCL_CLOSE"; //$NON-NLS-1$
- public static final String IMG_ELCL_NEW_CON = "IMG_ELCL_NEW_CON"; //$NON-NLS-1$
+ String IMG_ELCL_PIN = "IMG_ELCL_PIN"; //$NON-NLS-1$
+ String IMG_ELCL_CLEAR= "IMG_ELCL_CLEAR"; //$NON-NLS-1$
+ String IMG_ELCL_LOCK = "IMG_ELCL_LOCK"; //$NON-NLS-1$
+ String IMG_ELCL_WRAP = "IMG_ELCL_WRAP"; //$NON-NLS-1$
+ String IMG_ELCL_CLOSE = "IMG_ELCL_CLOSE"; //$NON-NLS-1$
+ String IMG_ELCL_NEW_CON = "IMG_ELCL_NEW_CON"; //$NON-NLS-1$
}

Back to the top