/** * Sets the text of the status field. * <p> * The default implementation currently only updates the status field when * the popup shell is not visible. The status field can currently only be * shown if the information control has been created with a non-null status * field text. * </p> * * @param statusFieldText the text to be used in the optional status field * or <code>null</code> if the status field should be hidden * * @see org.eclipse.jface.text.IInformationControlExtension4#setStatusText(java.lang.String) */ @Override public void setStatusText(String statusFieldText) { if (fStatusLabel != null && ! getShell().isVisible()) { if (statusFieldText == null ) { fStatusComposite.setVisible(false); } else { fStatusLabel.setText(statusFieldText); fStatusComposite.setVisible(true); } } }
/** * Sets the text of the status field. * <p> * The default implementation currently only updates the status field when * the popup shell is not visible. The status field can currently only be * shown if the information control has been created with a non-null status * field text. * </p> * * @param statusFieldText the text to be used in the optional status field * or <code>null</code> if the status field should be hidden * * @see org.eclipse.jface.text.IInformationControlExtension4#setStatusText(java.lang.String) */ @Override public void setStatusText(String statusFieldText) { if (fStatusLabel != null && ! getShell().isVisible()) { if (statusFieldText == null ) { fStatusComposite.setVisible(false); } else { fStatusLabel.setText(statusFieldText); fStatusComposite.setVisible(true); } } }