List of usage examples for org.eclipse.jface.preference FieldEditor setLabelText
public void setLabelText(String text)
From source file:org.embl.cca.utils.ui.view.filenavigator.preference.FileNavigatorPreferencePage.java
License:Apache License
/** * Adds the given field editor to this page. * * @param editor the field editor/* ww w.j a va2 s . c o m*/ */ protected void addField(final FieldEditor editor) { if (editor.getPreferenceName().equals(FileNavigatorPreferenceConstants.SHOW_INDEXRANGE_COLUMN)) editor.setLabelText("Show index range column"); super.addField(editor); }