Bug 297303 Resource filters cannot be edited for linked packages
I20091207-1800 Resource filters cannot be edited for linked packages (properties page shows only up for folder, not for packages).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterPage.java
IContainer.class);
		if (resource == null) {
			IProject project = (IProject) getElement().getAdapter(
					IProject.class);
			if (project != null)
				resource = project;
		}
		groupWidget.setContainer(resource);
		return groupWidget.createContents(parent);
	}
	protected void performDefaults() {
		groupWidget.performDefaults();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.DialogPage#dispose()
	 */
	public void dispose() {
		groupWidget.dispose();
		super.dispose();
	}
	/**
	 * Apply the read only state and the encoding to the resource.
	 */
	public boolean performOk() {
		return groupWidget.performOk();
	}
}