Package org.eclipse.ui.texteditor
Interface IStatusFieldExtension
- All Known Implementing Classes:
StatusLineContributionItem
public interface IStatusFieldExtension
Extends
IStatusField with the following
concepts:
- set error text and image
- set tool tip
- control visibility
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetErrorImage(Image image) Sets the error image of this status field.voidsetErrorText(String text) Sets the text of this status field.voidsetToolTipText(String string) Sets tool tip text for this status field.voidsetVisible(boolean visible) Sets whether this status field is visible within the status line.
-
Method Details
-
setErrorText
Sets the text of this status field.The error text overrides the current text until the error text is cleared (set to
null).- Parameters:
text- the error text shown in the status field ornullto clear- See Also:
-
setErrorImage
Sets the error image of this status field.The error image overrides the current image until the error image is cleared (set to
null).- Parameters:
image- the error image shown in the status field ornullto clear- See Also:
-
setToolTipText
Sets tool tip text for this status field.- Parameters:
string- the new tool tip text ornullto clear
-
setVisible
void setVisible(boolean visible) Sets whether this status field is visible within the status line.- Parameters:
visible-trueif this item should be visible,falseotherwise
-