Bug 15157 New-> menu disappears when folder is selected
Build: 20020501 The New-> menu in the packages view is not added to the pop-up menu when a folder is selected. It is added when a source folder is selected.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
result= getConfigurationElement().getAttribute("name"); 
			} else {
				result= path.makeRelative().toString();
			}
		}
		
		if (fWorkingSetFilterActionGroup == null || fWorkingSetFilterActionGroup.getWorkingSet() == null)
			return result;
		IWorkingSet ws= fWorkingSetFilterActionGroup.getWorkingSet();
		String wsstr= JavaBrowsingMessages.getFormattedString("JavaBrowsingPart.toolTip", new String[] { ws.getName() }); 
		if (result.length() == 0)
			return wsstr;
		return JavaBrowsingMessages.getFormattedString("JavaBrowsingPart.toolTip2", new String[] { result, ws.getName() }); 
	}
	
	public String getTitleToolTip() {
		if (fViewer == null)
			return super.getTitleToolTip();
		return getToolTipText(fViewer.getInput());
	}
	/**
	 * Sets or clears the title image of this part and
	 * store the orignal image on the first call.
	 */
	protected void setTitleImage(Image titleImage) {
		if (fOriginalTitleImage == null)
			fOriginalTitleImage= getTitleImage();
		if (titleImage == null)
			titleImage= fOriginalTitleImage;
		super.setTitleImage(titleImage);