protected void removeFromParentInfo(Openable child){
  Openable parent=(Openable)child.getParent();
  if (parent != null && parent.isOpen()) {
    try {
      OpenableElementInfo info=(OpenableElementInfo)parent.getElementInfo();
      info.removeChild(child);
    }
 catch (    JavaModelException e) {
    }
  }
}

protected void removeFromParentInfo ( Openable child ) { Openable parent = ( Openable ) child . getParent ( ) ; if ( parent != null && parent . isOpen ( ) ) { try { OpenableElementInfo info = ( OpenableElementInfo ) parent . getElementInfo ( ) ; info . removeChild ( child ) ; } catch ( JavaModelException e ) { } } }
removes the given element from its parents cache of children . if the element does not have a parent , or the parent is not currently open , this has no effect .
