Project

General

Profile

« Previous | Next » 

Revision 2f9887be

Added by Katja Luther over 5 years ago

ref #7163: restructure preferences and externalize strings in preferences

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DescriptionPreferences.java
11 11

  
12 12
import org.eclipse.jface.preference.BooleanFieldEditor;
13 13

  
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
15 16

  
16 17
/**
......
23 24
public class DescriptionPreferences extends FieldEditorPreferencePageE4 {
24 25

  
25 26
	/** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.desc"{trunked}</code> */
26
	public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description";
27
	public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description"; //$NON-NLS-1$
27 28

  
28 29
	@Override
29 30
	protected void createFieldEditors() {
30 31

  
31 32
	    addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_VOCABULARY_ID_FOR_TERM_LABELS),
32
	            "Show vocabulary id for term labels.",
33
	            Messages.DescriptionPreferences_1,
33 34
                getFieldEditorParent()));
34 35
	}
35 36
}

Also available in: Unified diff