Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2005-11-22 22:50:32 -0500
committerDarin Wright2005-11-22 22:50:32 -0500
commit0b1a9a5957f521d8d4605100652275aa6b865041 (patch)
treecf0c055e8bf8d420f7f55ec7f228916403c548c9 /org.eclipse.ui.console
parentc31caf50532420ef541b8fe1c365f0aae08df679 (diff)
downloadeclipse.platform.debug-0b1a9a5957f521d8d4605100652275aa6b865041.tar.gz
eclipse.platform.debug-0b1a9a5957f521d8d4605100652275aa6b865041.tar.xz
eclipse.platform.debug-0b1a9a5957f521d8d4605100652275aa6b865041.zip
Use new utility listener list
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/AbstractConsole.java2
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleManager.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/AbstractConsole.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/AbstractConsole.java
index 2961d649e..f33215075 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/AbstractConsole.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/AbstractConsole.java
@@ -12,11 +12,11 @@ package org.eclipse.ui.console;
import org.eclipse.core.runtime.ISafeRunnable;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.ListenerList;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.util.IPropertyChangeListener;
-import org.eclipse.jface.util.ListenerList;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.jface.viewers.IBasicPropertyConstants;
import org.eclipse.ui.internal.console.ConsoleMessages;
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleManager.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleManager.java
index eeb0a271a..d235c9ecf 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleManager.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleManager.java
@@ -22,9 +22,9 @@ import org.eclipse.core.runtime.IExtensionPoint;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.ISafeRunnable;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.ListenerList;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.util.ListenerList;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPage;
@@ -191,7 +191,7 @@ public class ConsoleManager implements IConsoleManager {
*/
public void addConsoleListener(IConsoleListener listener) {
if (fListeners == null) {
- fListeners = new ListenerList(5);
+ fListeners = new ListenerList();
}
fListeners.add(listener);
}

Back to the top