Bug 7127 'refactor' menu missing from the type hierarchy perspective
the 'refactor' menu is missing from the type hierarchy perspective
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java
if (item instanceof TreeItem) {
					initializeItem((TreeItem) item);
				}
			}
		});
	}		
	
	protected void doCheckStateChanged(Object element) {
		Widget item= findItem(element);
		if (item instanceof TreeItem) {
			TreeItem treeItem= (TreeItem) item;
			treeItem.setGrayed(false);
			updateChildrenItems(treeItem);
			updateParentItems(treeItem.getParentItem());
		}
	}
	
	/**
	 * The item has expanded. Updates the checked state of its children. 
	 */
	private void initializeItem(TreeItem item) {
		if (item.getChecked() && !item.getGrayed()) {
			updateChildrenItems((TreeItem) item);
		}
	}
	/**
	 * Updates the check state of all created children
	 */	
	private void updateChildrenItems(TreeItem parent) {
		Item[] children= getChildren(parent);