new PatchedOpenNewWindowAction(getSite().getWorkbenchWindow(), (IContainer)element));
new PatchedOpenInNewWindowAction(getSite().getWorkbenchWindow(), (IContainer)element));
	private void addOpenNewWindowAction(IMenuManager menu, Object element) {		if (element instanceof IJavaElement) {			try {				element= ((IJavaElement)element).getCorrespondingResource();			} catch(JavaModelException e) {			}		}		if (!(element instanceof IContainer))			return;		menu.appendToGroup(			IContextMenuConstants.GROUP_OPEN, 			new PatchedOpenNewWindowAction(getSite().getWorkbenchWindow(), (IContainer)element));	}