code: public void createFieldEditors() {
  		/*addField(new DirectoryFieldEditor(PreferenceConstants.P_PATH, 
  				"&Directory preference:", getFieldEditorParent()));
  		addField(
  			new BooleanFieldEditor(
  				PreferenceConstants.P_BOOLEAN,
  				"&An example of a boolean preference",
  				getFieldEditorParent()));
  
  		addField(new RadioGroupFieldEditor(
  				PreferenceConstants.P_CHOICE,
  			"An example of a multiple-choice preference",
  			1,
  			new String[][] { { "&Choice 1", "choice1" }, {
  				"C&hoice 2", "choice2" }
  		}, getFieldEditorParent()));*/
  		IntegerFieldEditor hits_per_paint = new IntegerFieldEditor(
  				PreferenceConstants.P_INT_HITS_PER_PAINT, 
  				"Number of Hits per painting:",getFieldEditorParent(),5);
  		hits_per_paint.setValidRange(500, 30000);
  		addField(hits_per_paint);
  		StringFieldEditor default_log_file = new StringFieldEditor(
  				PreferenceConstants.P_STRING_DEFAULT_LOG_FILE,
  				"Default value for box \"iSCSI Server\":",
  				getFieldEditorParent());
  		addField(default_log_file);
  		StringFieldEditor default_type_file = new StringFieldEditor(
  				PreferenceConstants.P_STRING_DEFAULT_TYPE_FILE,
  				"Default value for box \"Type-File\":",
  				getFieldEditorParent());
  		addField(default_type_file);
  	}
docs: 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.