IDialogSettings dialogSettings= JavaPlugin.getDefault().getDialogSettings(); fSettings= dialogSettings.getSection(SETTINGS_SECTION); if (fSettings == null) { fSettings= dialogSettings.addNewSection(SETTINGS_SECTION); fSettings.put(SETTINGS_INSERTPOSITION, 0); fSettings.put(VISIBILITY_MODIFIER, Modifier.PUBLIC); fSettings.put(FINAL_MODIFIER, false); fSettings.put(SYNCHRONIZED_MODIFIER, false); fSettings.put(SORT_ORDER, false); } fInsertPosition= fSettings.getInt(SETTINGS_INSERTPOSITION); fVisibilityModifier= fSettings.getInt(VISIBILITY_MODIFIER); fFinal= fSettings.getBoolean(FINAL_MODIFIER); fSynchronized= fSettings.getBoolean(SYNCHRONIZED_MODIFIER); fSortOrder= fSettings.getBoolean(SORT_ORDER); fGetterSetterEntries= entries;
fGetterSetterEntries= entries;
		public AddGetterSetterContentProvider(Map entries) throws JavaModelException {			// http://bugs.eclipse.org/bugs/show_bug.cgi?id=19253			IDialogSettings dialogSettings= JavaPlugin.getDefault().getDialogSettings();			fSettings= dialogSettings.getSection(SETTINGS_SECTION);			if (fSettings == null) {				fSettings= dialogSettings.addNewSection(SETTINGS_SECTION);				fSettings.put(SETTINGS_INSERTPOSITION, 0); //$NON-NLS-1$				fSettings.put(VISIBILITY_MODIFIER, Modifier.PUBLIC); //$NON-NLS-1$				fSettings.put(FINAL_MODIFIER, false); //$NON-NLS-1$				fSettings.put(SYNCHRONIZED_MODIFIER, false); //$NON-NLS-1$				fSettings.put(SORT_ORDER, false); //$NON-NLS-1$			}						fInsertPosition= fSettings.getInt(SETTINGS_INSERTPOSITION); 			fVisibilityModifier= fSettings.getInt(VISIBILITY_MODIFIER);			fFinal= fSettings.getBoolean(FINAL_MODIFIER);			fSynchronized= fSettings.getBoolean(SYNCHRONIZED_MODIFIER);			fSortOrder= fSettings.getBoolean(SORT_ORDER);			fGetterSetterEntries= entries;		}