use of org.eclipse.jface.action.StatusLineContributionItem in project tdi-studio-se by Talend.
the class AbstractJvmPropertySection method clearStatusLine.
/**
* Clears the status line.
*/
public void clearStatusLine() {
IStatusLineManager manager = propertySheet.getViewSite().getActionBars().getStatusLineManager();
IContributionItem[] items = manager.getItems();
for (IContributionItem item : items) {
if (item instanceof StatusLineContributionItem) {
((StatusLineContributionItem) item).setText(Util.ZERO_LENGTH_STRING);
}
}
}
Aggregations