|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.console.AbstractConsole
Common function for consoles.
Clients implementing consoles should subclass this class.
Constructor Summary | |
AbstractConsole(String name,
ImageDescriptor imageDescriptor)
Constructs a new console with the given name and image. |
Method Summary | |
void | addPropertyChangeListener(IPropertyChangeListener listener)
Adds a listener for changes to properties of this console. |
protected void | dispose()
Called when this console is removed from the console manager. |
void | firePropertyChange(Object source,
String property,
Object oldValue,
Object newValue)
Notify all listeners that the given property has changed. |
ImageDescriptor | getImageDescriptor()
Returns an image descriptor for this console, or null if none. |
String | getName()
Returns the name of this console. |
protected void | init()
Called when this console is added to the console manager. |
void | removePropertyChangeListener(IPropertyChangeListener listener)
Removes the given property listener from this console page. |
protected void | setImageDescriptor(ImageDescriptor imageDescriptor)
Sets the image descriptor for this console to the specified value and notifies property listeners of the change. |
protected void | setName(String name)
Sets the name of this console to the specified value and notifies property listeners of the change. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.console.IConsole |
createPage |
Constructor Detail |
public AbstractConsole(String name, ImageDescriptor imageDescriptor)
Method Detail |
public String getName()
protected void setName(String name)
public ImageDescriptor getImageDescriptor()
protected void setImageDescriptor(ImageDescriptor imageDescriptor)
public void addPropertyChangeListener(IPropertyChangeListener listener)
The changes supported by the console view are as follows:
Clients may define additional properties as required.
public void removePropertyChangeListener(IPropertyChangeListener listener)
public void firePropertyChange(Object source, String property, Object oldValue, Object newValue)
protected void init()
protected void dispose()
|
Eclipse Platform Release 3.0 | ||||||||||
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, 2004. All rights reserved.