Bug 165135 [Open Resource] Do not Show derived resources
Open Resource dialog in 3.3 M3 has broken the "Show derived resources" option. It worked properly in 3.2 - if option is turned off, resources in derived folders were not shown. This is important feature since build systems often copy resources in some "build" folder which should not be modified when we edit sources. In 3.3 all resources except explicitly marked derived are always displayed in the dialog. How to reproduce: Create a new project create folders, /a and /b mark folder b derived (in properties) Create file /a/xxx Copy /a/xxx to /b Open Resource, enter "xxx" Both files are displayed.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/FilteredResourcesSelectionDialog.java
if (progressMonitor.isCanceled())
				return false;
			IResource res = proxy.requestResource();
			ResourceItem resourceItem = new ResourceItem(res);
			if (this.projects.remove((res.getProject()))
					|| this.projects.remove((res))) {
				progressMonitor.worked(1);
			}
			contentProvider.add(resourceItem, itemsFilter);
			if (res.getType() == IResource.FILE) {
				return false;
			}
			return true;
		}
	}
	/**
	 * Filters resources using pattern and showDerived flag. It overrides
	 * ItemsFilter.
	 */
	protected class ResourceFilter extends ItemsFilter {
		private boolean showDerived = false;
		private IContainer filterContainer;
		private int filterTypeMask;
		/**
		 * Creates new ResourceFilter instance
		 * 
		 * @param container
		 * @param showDerived
		 *            flag which determine showing derived elements
		 * @param typeMask