|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.jface.action.ContributionItem
|
+--org.eclipse.ui.texteditor.StatusLineContributionItem
Contribution item for the status line.
| Constructor Summary | |
StatusLineContributionItem(String id)
Creates a new item with the given id. |
|
| Method Summary | |
void |
fill(Composite parent)
The default implementation of this IContributionItem
method does nothing. |
void |
setImage(Image image)
Sets the image of this status field. |
void |
setText(String text)
Sets the text of this status field. |
| Methods inherited from class org.eclipse.jface.action.ContributionItem |
dispose, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, setParent, setVisible, toString, update, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StatusLineContributionItem(String id)
id - the item's id| Method Detail |
public void setText(String text)
IStatusField
setText in interface IStatusFieldtext - the text shown in the status fieldpublic void setImage(Image image)
IStatusField
setImage in interface IStatusFieldimage - the image shown in the status fieldpublic void fill(Composite parent)
ContributionItemIContributionItem
method does nothing. Subclasses may override.
fill in interface IContributionItemfill in class ContributionItemparent - the parent control
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||