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
ItemsFilter itemsFilter, IProgressMonitor progressMonitor)
			throws CoreException {
		container.accept(new ResourceProxyVisitor(contentProvider, itemsFilter,
				progressMonitor), IResource.NONE);
		if (progressMonitor != null)
			progressMonitor.done();
	}
	/**
	 * Sets the derived flag on the ResourceFilter instance
	 */
	private class ShowDerivedResourcesAction extends Action {
		/**
		 * Creates a new instance of the action.
		 */
		public ShowDerivedResourcesAction() {
			super(
					IDEWorkbenchMessages.FilteredResourcesSelectionDialog_showDerivedResourcesAction,
					IAction.AS_CHECK_BOX);
		}
		public void run() {
			FilteredResourcesSelectionDialog.this.isDerived = isChecked();
			applyFilter();
		}
	}
	/**
	 * A label provider for ResourceDecorator objects. It creates labels with a
	 * resource full path for duplicates. It uses the Platform UI label
	 * decorator for providing extra resource info.
	 */
	private class ResourceItemLabelProvider extends LabelProvider implements