Bug 297184 [Wizards] [resource filters] New file wizard should not allow to create files that are excluded by resource filter
Build : I20091207-1800 If the user creates a new file from the "File | New..." wizard that is actually filtered out by its parent resource filters, it will show up just after creation, but it will disappear from the resource tree when the user manually refreshes the view. 1) The PE should either not show this file, and hide it from the view if it is filtered, or show a different icon for such files. 2) The wizard should show a warning that the created file is already filtered.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java
private IStructuredSelection currentSelection;
	
	private IFile newFile;
	private URI linkTargetPath;
	
	private ResourceAndContainerGroup resourceGroup;
	private Button advancedButton;
	private CreateLinkedResourceGroup linkedResourceGroup;
	private Composite linkedResourceParent;
	private Composite linkedResourceComposite;
	
	private String initialFileName;
	/**
	 * The file extension to use for this page's file name field when it does
	 * not exist yet.
	 * 
	 * @see WizardNewFileCreationPage#setFileExtension(String)
	 * @since 3.3
	 */
	private String initialFileExtension;
	private IPath initialContainerFullPath;
	private boolean initialAllowExistingResources = false;
	/**
	 * Height of the "advanced" linked resource group. Set when the advanced
	 * group is first made visible.
	 */
	private int linkedResourceGroupHeight = -1;
	/**
	 * First time the advanced group is validated.