Bug 30667 create 'subpackage' when doing create new package with a package selected
It should be possible to quickly create a new package as a subpackage of an already existing package. A suggestion: upon activating the new>package menu from a selected package, the name field in the dialog box could already contain the name of the selected package (possibly with the name completely selected). Just appending a ".foo" would suffice to create a subpackage thereof.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
IPath outputPath= root.getJavaProject().getOutputLocation();
				if (rootPath.isPrefixOf(outputPath) && !rootPath.equals(outputPath)) {
					
					
					IPath packagePath= pack.getPath();
					if (outputPath.isPrefixOf(packagePath)) {
						status.setError(NewWizardMessages.getString("NewPackageWizardPage.error.IsOutputFolder")); 
						return status;
					}
				}		
				if (pack.exists()) {
					if (pack.containsJavaResources() || !pack.hasSubpackages()) {
						status.setError(NewWizardMessages.getString("NewPackageWizardPage.error.PackageExists")); 
					} else {
						status.setWarning(NewWizardMessages.getString("NewPackageWizardPage.warning.PackageNotShown"));  
					}
				}
			} catch (JavaModelException e) {
				JavaPlugin.log(e);
			}
			
		}
		return status;
	}
	/**
	 * Returns the content of the package input field.
	 * 
	 * @return the content of the package input field
	 */
	public String getPackageText() {