Bug 47729 Unable to ignore '*,D' files [filters]
I am using Aegis which produces files having the extension ',D', e.g. 'MyClass.java,D'. I want to ignore these files from being shown in the Package Explorer. I tried the filter in Project - Properties - Java Build Path - Source - Exclusion Filter but failed. I tried **/*,D **/*.java,D **/*.java?D without success. Seems as if this filter only ignores .java files. The only help I found was the filter for 'non-java elements', but then my .properties files disappear, too.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/CustomFiltersDialog.java
return 
			new LabelProvider() {
				public Image getImage(Object element) {
					return null;
				}
				public String getText(Object element) {
					if (element instanceof FilterDescriptor)
						return ((FilterDescriptor)element).getName();
					else
						return null;
				}
			};
	}
	
	
	protected void setResult(List newResult) {
		super.setResult(newResult);
		if (fUserDefinedPatterns.getText().length() > 0) {
			fEnablePatterns= fEnableUserDefinedPatterns.getSelection();
			fPatterns= convertFromString(fUserDefinedPatterns.getText(), SEPARATOR);
		} else {
			fEnablePatterns= false;
			fPatterns= new String[0];
		}			
	}
	/**
	 * @return the patterns which have been entered by the user
	 */
	public String[] getUserDefinedPatterns() {
		return fPatterns;