|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConsole
A console. A console is commonly used to display messages such as the output streams of a system process. A console can be displayed in one or more console views.
The console implementations provided by this plug-in are textual
(TextConsole, MessageConsole and IOConsole).
However a client can provide alternate presentations since a console implementation
is responsible for providing is page for the page book views in which consoles are
displayed.
Subclass AbstractConsole when implementing this interface.
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Adds a listener for changes to properties of this console. |
IPageBookViewPage |
createPage(IConsoleView view)
Creates and returns a new page for this console. |
ImageDescriptor |
getImageDescriptor()
Returns an image descriptor for this console, or null
if none. |
java.lang.String |
getName()
Returns the name of this console. |
java.lang.String |
getType()
Returns a unique identifier for this console's type, or null
if unspecified. |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Removes the given property listener from this console page. |
| Method Detail |
|---|
java.lang.String getName()
ImageDescriptor getImageDescriptor()
null
if none.
null
if noneIPageBookViewPage createPage(IConsoleView view)
view - the view in which the page is to be created
void addPropertyChangeListener(IPropertyChangeListener listener)
The changes supported by the console view are as follows:
IBasicPropertyConstants.P_TEXT - indicates the name
of a console has changedIBasicPropertyConstants.P_IMAGE - indicates the image
of a console has changedConsoles may define additional properties as required.
listener - a property change listenervoid removePropertyChangeListener(IPropertyChangeListener listener)
listener - a property listenerjava.lang.String getType()
null
if unspecified.
null
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.