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
}
		
		updateStatus(new IStatus[] { fContainerStatus, fPackageStatus });		
	}	
			
	
			
	/**
	 * Verifies the input for the package field.
	 */
	private IStatus packageChanged() {
		StatusInfo status= new StatusInfo();
		String packName= getPackageText();
		if (packName.length() > 0) {
			IStatus val= JavaConventions.validatePackageName(packName);
			if (val.getSeverity() == IStatus.ERROR) {
				status.setError(NewWizardMessages.getFormattedString("NewPackageWizardPage.error.InvalidPackageName", val.getMessage())); 
				return status;
			} else if (val.getSeverity() == IStatus.WARNING) {
				status.setWarning(NewWizardMessages.getFormattedString("NewPackageWizardPage.warning.DiscouragedPackageName", val.getMessage())); 
			}
		} else {
			status.setError(NewWizardMessages.getString("NewPackageWizardPage.error.EnterName")); 
			return status;
		}			
		IPackageFragmentRoot root= getPackageFragmentRoot();
		if (root != null) {
			IPackageFragment pack= root.getPackageFragment(packName);
			try {
				IPath rootPath= root.getPath();