Bug 26019 Deleting default package gives blank string in message
build I20021105 - in Package Explorer, select a default package - hit Delete - dialog box message is: Are you sure you want to delete ''? It should use the same text as shown in the view: Are you sure you want to delete '(default package)'?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java
continue;
			if (containsSourceFolder((IFolder)subFolders[i]))
				return true;
		}
		return false;
	}
	
	
	/*
	 * @see SelectionDispatchAction#selectionChanged(IStructuredSelection)
	 */
	protected void selectionChanged(IStructuredSelection selection) {
		setEnabled(ClipboardActionUtil.canActivate(new DeleteRefactoring(selection.toList())));
	}
	
	private static boolean confirmDelete(IStructuredSelection selection) {
		Assert.isTrue(ClipboardActionUtil.getSelectedProjects(selection).isEmpty());
		String title= ReorgMessages.getString("deleteAction.confirm.title"); 
		String label;
		if (selection.size() == 1){
			String pattern= "Are you sure you want to delete ''{0}''?";
			label= MessageFormat.format(pattern, new String[]{ReorgUtils.getName(selection.getFirstElement())});
		} else {
			String pattern= "Are you sure you want to delete these {0} resources?";
			label= MessageFormat.format(pattern, new String[]{String.valueOf(selection.size())});
		}
		return MessageDialog.openQuestion(JavaPlugin.getActiveWorkbenchShell(), title, label);
	}
}