public void createFieldEditors ( ) { addField ( new StringFieldEditor ( PreferenceConstants . CLIENT_ID , "Google API Client Id:" , getFieldEditorParent ( ) ) ) ; addField ( new StringFieldEditor ( PreferenceConstants . CLIENT_SECRET , "Google API Client Secret:" , getFieldEditorParent ( ) ) ) ; }
Creates the field editors . Field editors are abstractions of the common GUI blocks needed to manipulate various types of preferences . Each field editor knows how to save and restore itself .