Bug 34506 [wording] Confusing warning with package creation "Package will not be visible..."
In the New Package wizard, 1. create a package test.something 2. again do New Package, type in "test" At the top of the wizard it informs you "Note: Package will not be visible in Package Explorer while empty." I don't understand what its trying to tell me. Perhaps its outdated now that we have all the filtering rules that can be turned on/off? In my specific case I had all filtering rules turned off and indeed the empty package in question would be visible. Its odd too that it only informs you for that case. If instead you simply create an empty package (as in step 1) it won't warn you. Finally, it mentions specifically the Package Explorer yet there are other views that I assume this could apply to (whatever it is its warning me about).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
};
	}
	/**
	 * Returns the created package fragment. This method only returns a valid value
	 * after <code>getRunnable</code> or <code>createPackage</code> have been 
	 * executed.
	 * 
	 * @return the created package fragment
	 */	
	public IPackageFragment getNewPackageFragment() {
		return fCreatedPackageFragment;
	}
	
	/**
	 * Creates the new package using the entered field values.
	 * 
	 * @param monitor a progress monitor to report progress. The progress
	 * monitor must not be <code>null</code>
	 * @since 2.1
	 */
	public void createPackage(IProgressMonitor monitor) throws CoreException, InterruptedException {
		if (monitor == null) {
			monitor= new NullProgressMonitor();
		}
		IPackageFragmentRoot root= getPackageFragmentRoot();
		String packName= getPackageText();
		fCreatedPackageFragment= root.createPackageFragment(packName, true, monitor);
	}	
}