fPackageNamePattern= new StringDialogField(); fPackageNamePattern.setDialogFieldListener(listener); fPackageNamePattern.setLabelText(JavaUIMessages.getString("AppearancePreferencePage.pkgNamePattern.label"));
	public AppearancePreferencePage() {		setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());		setDescription(JavaUIMessages.getString("AppearancePreferencePage.description")); //$NON-NLS-1$			IDialogFieldListener listener= new IDialogFieldListener() {			public void dialogFieldChanged(DialogField field) {				doDialogFieldChanged(field);			}		};			fShowMethodReturnType= new SelectionButtonDialogField(SWT.CHECK);		fShowMethodReturnType.setDialogFieldListener(listener);		fShowMethodReturnType.setLabelText(JavaUIMessages.getString("AppearancePreferencePage.methodreturntype.label")); //$NON-NLS-1$				fShowOverrideIndicator= new SelectionButtonDialogField(SWT.CHECK);		fShowOverrideIndicator.setDialogFieldListener(listener);		fShowOverrideIndicator.setLabelText(JavaUIMessages.getString("AppearancePreferencePage.overrideindicator.label")); //$NON-NLS-1$	}