if (size == 1 && isNewTarget(jElement)) {
if (size == 0 || (size == 1 &&isNewTarget(jElement))) {
	public void menuAboutToShow(IMenuManager menu) {		JavaPlugin.createStandardGroups(menu);				IStructuredSelection selection= (IStructuredSelection) fViewer.getSelection();		int size= selection.size();				Object element= selection.getFirstElement();		IJavaElement jElement= element instanceof IJavaElement ? (IJavaElement)element : null;				if (size == 1 && isNewTarget(jElement)) {			MenuManager newMenu= new MenuManager(PackagesMessages.getString("PackageExplorer.new")); //$NON-NLS-1$			menu.appendToGroup(IContextMenuConstants.GROUP_NEW, newMenu);			new NewWizardMenu(newMenu, getSite().getWorkbenchWindow(), false);		}		if (size == 1)			addOpenNewWindowAction(menu, element);		fStandardActionGroups.setContext(new ActionContext(selection));		fStandardActionGroups.fillContextMenu(menu);			}