|
Eclipse Platform 2.0 |
||||||||||
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 |
fill, fill, getId, getParent, isDynamic, 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 idMethod Detail |
public void setText(String text)
IStatusField
setText
in interface IStatusField
text
- the text shown in the status fieldpublic void setImage(Image image)
IStatusField
setImage
in interface IStatusField
image
- the image shown in the status fieldpublic void fill(Composite parent)
ContributionItem
IContributionItem
method does nothing. Subclasses may override.
fill
in interface IContributionItem
fill
in class ContributionItem
parent
- the parent control
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |