Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2008-07-07 16:55:03 +0000
committerMichael Rennie2008-07-07 16:55:03 +0000
commit7c629d63bb2a640d5c7d9dbd513a8fc1ea593262 (patch)
tree07e4d98883c2258a5c960ab9fcdf4703ad3e0e7a /org.eclipse.ui.console
parent7d90dc209f31fe28107404f81e41ddf04e9c283a (diff)
downloadeclipse.platform.debug-7c629d63bb2a640d5c7d9dbd513a8fc1ea593262.tar.gz
eclipse.platform.debug-7c629d63bb2a640d5c7d9dbd513a8fc1ea593262.tar.xz
eclipse.platform.debug-7c629d63bb2a640d5c7d9dbd513a8fc1ea593262.zip
Bug 239512 MessageConsole hides IOConsole constructor taking consoleType
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsole.java17
1 files changed, 15 insertions, 2 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsole.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsole.java
index 8fc88f936..f68e22157 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsole.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsole.java
@@ -75,8 +75,21 @@ public class MessageConsole extends IOConsole {
* @since 3.1
*/
public MessageConsole(String name, ImageDescriptor imageDescriptor, boolean autoLifecycle) {
- super(name, IConsoleConstants.MESSAGE_CONSOLE_TYPE, imageDescriptor, autoLifecycle);
- }
+ this(name, IConsoleConstants.MESSAGE_CONSOLE_TYPE, imageDescriptor, autoLifecycle);
+ }
+
+ /**
+ * Constructs a message console with the given name, type, image, and lifecycle.
+ *
+ * @param name console name
+ * @param consoleType console type identifier or <code>null</code>
+ * @param imageDescriptor console image descriptor or <code>null</code>
+ * @param autoLifecycle whether lifecycle methods should be called automatically
+ * when added and removed from the console manager
+ */
+ public MessageConsole(String name, String consoleType, ImageDescriptor imageDescriptor, boolean autoLifecycle) {
+ super(name, consoleType, imageDescriptor, autoLifecycle);
+ }
/**
* Returns a new message stream connected to this console.

Back to the top