parent = myEditorInput;
parent = myModelContainer;
  public Object getParent(Object _element) {    Object parent;    if (_element instanceof EOModelEditorInput) {      parent = null;    }    else if (_element instanceof EOModel) {      parent = myEditorInput;    }    else if (_element instanceof EOEntity) {      parent = ((EOEntity) _element).getModel();    }    else if (_element instanceof EOAttribute) {      parent = ((EOAttribute) _element).getEntity();    }    else if (_element instanceof EOFetchSpecification) {      parent = ((EOFetchSpecification) _element).getEntity();    }    else if (_element instanceof EORelationship) {      parent = ((EORelationship) _element).getEntity();    }    else if (_element instanceof EORelationshipPath) {      EORelationshipPath parentRelationshipPath = ((EORelationshipPath) _element).getParentRelationshipPath();      if (parentRelationshipPath == null) {        parent = ((EORelationshipPath) _element).getChildRelationship().getEntity();      }      else {        parent = parentRelationshipPath;      }    }    else {      parent = null;    }    return parent;  }