if ("plist".equals(file.getFileExtension())) { myFileEditorInput = new FileEditorInput(file.getParent().getFile(new Path("index.eomodeld")));
if ("plist".equalsIgnoreCase(file.getFileExtension())) { String name = file.getName(); myFileEntityName = name.substring(0, name.indexOf('.')); myFileEditorInput = new FileEditorInput(file.getParent().getFile(new Path("index.eomodeld")));
  public EOModelEditorInput(IFileEditorInput _fileEditorInput, List _failures) throws CoreException, IOException, EOModelException {    IFile file = _fileEditorInput.getFile();    if ("plist".equals(file.getFileExtension())) {      myFileEditorInput = new FileEditorInput(file.getParent().getFile(new Path("index.eomodeld")));    }    else {      myFileEditorInput = _fileEditorInput;    }    myModelFolder = myFileEditorInput.getFile().getParent();    myModel = EclipseEOModelGroupFactory.createModel(myFileEditorInput.getFile(), _failures);  }