public interface IConsole
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.
Modifier and Type | Method and Description |
---|---|
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.
|
String getName()
ImageDescriptor getImageDescriptor()
null
if none.null
if noneIPageBookViewPage createPage(IConsoleView view)
view
- the view in which the page is to be createdvoid 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 listenerString getType()
null
if unspecified.null
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.