Bug 11826 Build exclusion filter should be trimmed prior to storing
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java
fResourceFilterField.setDialogFieldListener(listener);
		fResourceFilterField.setLabelText(JavaUIMessages.getString("JavaBuilderPreferencePage.filter.label"));
				
		updateControls();				
	}
	
	/*
	 * @see PreferencePage#createContents(Composite)
	 */
	protected Control createContents(Composite parent) {
		initializeDialogUnits(parent);
		
		GridLayout layout= new GridLayout();
		layout.marginHeight= 0;
		layout.marginWidth= 0;
		layout.numColumns= 2;
		Composite composite= new Composite(parent, SWT.NONE);
		composite.setLayout(layout);
		DialogField resourceFilterLabel= new DialogField();
		resourceFilterLabel.setLabelText(JavaUIMessages.getString("JavaBuilderPreferencePage.filter.description"));
		resourceFilterLabel.doFillIntoGrid(composite, 2);
		LayoutUtil.setWidthHint(resourceFilterLabel.getLabelControl(null), convertWidthInCharsToPixels(80));
		fResourceFilterField.doFillIntoGrid(composite, 2);
		LayoutUtil.setHorizontalGrabbing(fResourceFilterField.getTextControl(null));
		LayoutUtil.setWidthHint(fResourceFilterField.getTextControl(null), convertWidthInCharsToPixels(50));
		return composite;
	}
	
	/**
	 * Initializes the current options (read from preference store)