Bug 6407 reminder: register the context menu in the JavaOutlinePage
the context menu in the JavaOutlinePage should be registered with the page's site.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
boolean doUpdateParent= false;
										
					Vector deletions= new Vector();
					Vector additions= new Vector();
					
					go1: for (int i= 0; i < children.length; i++) {
						item= children[i];
						element= item.getData();
						for (int j= 0; j < affected.length; j++) {
							
							IJavaElement affectedElement= affected[j].getElement();
							int status= affected[j].getKind();
							
							if (affectedElement.equals(element)) {
								
								
								if ((status & IJavaElementDelta.REMOVED) != 0) {
									deletions.addElement(item);
									doUpdateParent= doUpdateParent || mustUpdateParent(affected[j], affectedElement);
									continue go1;
								}
								
								
								if ((status & IJavaElementDelta.CHANGED) != 0) {
									int change= affected[j].getFlags();
									doUpdateParent= doUpdateParent || mustUpdateParent(affected[j], affectedElement);
									
									if ((change & IJavaElementDelta.F_MODIFIERS) != 0) {
										if (filtered(parent, affectedElement))
											deletions.addElement(item);