public class MessageConsole extends IOConsole
MessageConsoleStream).
Text written to streams is buffered and processed in a Job by the
console's document partitioner.
Clients may instantiate this class; not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TAB_SIZE
Deprecated.
|
static String |
P_FONT
Deprecated.
|
static String |
P_STREAM_COLOR
Deprecated.
|
static String |
P_TAB_SIZE
Deprecated.
|
| Constructor and Description |
|---|
MessageConsole(String name,
ImageDescriptor imageDescriptor)
Constructs a message console with the given name and image.
|
MessageConsole(String name,
ImageDescriptor imageDescriptor,
boolean autoLifecycle)
Constructs a message console.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToDocument(String text,
MessageConsoleStream stream)
Deprecated.
since 3.1, this method should no longer be called, and has no effect.
Writing to a message console stream updates the document
|
IPageBookViewPage |
createPage(IConsoleView view)
Creates and returns a new page for this console.
|
IOConsoleInputStream |
getInputStream()
Returns the input stream connected to the keyboard.
|
MessageConsoleStream |
newMessageStream()
Returns a new message stream connected to this console.
|
clearConsole, dispose, getHighWaterMark, getLowWaterMark, getPartitioner, newOutputStream, setWaterMarksaddHyperlink, addPatternMatchListener, getAttribute, getConsoleWidth, getDocument, getFont, getHyperlink, getHyperlinks, getRegion, getSchedulingRule, getTabWidth, matcherFinished, partitionerFinished, removePatternMatchListener, setAttribute, setConsoleWidth, setFont, setTabWidthactivate, addPropertyChangeListener, destroy, firePropertyChange, getHelpContextId, getImageDescriptor, getName, getType, init, initialize, removePropertyChangeListener, setImageDescriptor, setName, setTypepublic static final String P_FONT
IConsoleConstants.P_FONTpublic static final String P_STREAM_COLOR
IConsoleConstants.P_STREAM_COLORpublic static final String P_TAB_SIZE
IConsoleConstants.P_TAB_SIZEpublic static final int DEFAULT_TAB_SIZE
IConsoleConstants.DEFAULT_TAB_SIZEpublic MessageConsole(String name, ImageDescriptor imageDescriptor)
name - console nameimageDescriptor - console image descriptor or nullpublic MessageConsole(String name, ImageDescriptor imageDescriptor, boolean autoLifecycle)
name - console nameimageDescriptor - console image descriptor or nullautoLifecycle - whether lifecycle methods should be called automatically
when added and removed from the console managerpublic MessageConsoleStream newMessageStream()
public IPageBookViewPage createPage(IConsoleView view)
IConsolecreatePage in interface IConsolecreatePage in class IOConsoleview - the view in which the page is to be createdpublic IOConsoleInputStream getInputStream()
IOConsolegetInputStream in class IOConsoleprotected void appendToDocument(String text, MessageConsoleStream stream)
text - messagestream - stream the message belongs toGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.