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
fEnableUserDefinedPatterns.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				boolean state= fEnableUserDefinedPatterns.getSelection();
				fUserDefinedPatterns.setEnabled(state);
				info.setEnabled(fEnableUserDefinedPatterns.getSelection());
				if (state)
					fUserDefinedPatterns.setFocus();
			}
		});
		
		if (fBuiltInFilters.length > 0)
			createCheckBoxList(group);
				
		applyDialogFont(parent);		
		return parent;
	}
	private void createCheckBoxList(Composite parent) {
		
		new Label(parent, SWT.NONE);
		
		Label info= new Label(parent, SWT.LEFT);
		info.setText(FilterMessages.getString("CustomFiltersDialog.filterList.label"));  
		
		fCheckBoxList= CheckboxTableViewer.newCheckList(parent, SWT.BORDER);
		GridData data= new GridData(GridData.FILL_BOTH);
		data.heightHint= fCheckBoxList.getTable().getItemHeight() * 10;
		fCheckBoxList.getTable().setLayoutData(data);
		fCheckBoxList.setLabelProvider(createLabelPrivder());
		fCheckBoxList.setContentProvider(new ArrayContentProvider());
		fCheckBoxList.setInput(fBuiltInFilters);