|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
This interface is not intended to be implemented directly by clients.
Subclass AbstractConsole
instead.
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. |
String |
getName()
Returns the name of this console. |
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 |
public String getName()
public ImageDescriptor getImageDescriptor()
null
if none.
null
if nonepublic IPageBookViewPage createPage(IConsoleView view)
view
- the view in which the page is to be created
public 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 listenerpublic void removePropertyChangeListener(IPropertyChangeListener listener)
listener
- a property listenerpublic String getType()
null
if unspecified.
null
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.