Bug 6356 Outliner has to delete actions
Product version: smoke test for integration build 20011127 - load compilation unit into Java editor - open context menu in outliner observe: there are two delete actions
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
Item[] children= getChildren(parent);
					boolean expand= (parent instanceof Item && (children == null || children.length == 0));
					
					Item item= newItem(parent, SWT.NULL, ix);				
					updateItem(item, element);
					updatePlus(item, element);
					
					if (expand)
						setExpanded((Item) parent, true);
						
					internalExpandToLevel(item, ALL_LEVELS);
				}
				
				protected boolean mustUpdateParent(IJavaElementDelta delta, IJavaElement element) {
					if (element instanceof IMethod) {
						if ((delta.getKind() & IJavaElementDelta.ADDED) != 0) {
							try {
								return JavaModelUtil.isMainMethod((IMethod)element);
							} catch (JavaModelException e) {
								JavaPlugin.log(e.getStatus());
							}
						}
						return "main".equals(element.getElementName()); 
					}
					return false;
				}
				
				protected ISourceRange getSourceRange(IJavaElement element) throws JavaModelException {
					if (element instanceof IMember)
						return ((IMember) element).getNameRange();