IFile originalFile = input.getFile(); IContainer originalFolder = originalFile.getParent(); model.saveToFolder(originalFolder.getLocation().toFile()); originalFolder.refreshLocal(IResource.DEPTH_INFINITE, _monitor);  setInput(new FileEditorInput(originalFile)); } } catch (IOException e) { e.printStackTrace(); } catch (CoreException e) { e.printStackTrace(); } */
IFile originalFile = input.getFile(); IContainer originalFolder = originalFile.getParent(); model.saveToFolder(originalFolder.getParent().getLocation().toFile()); model.setDirty(false); originalFolder.refreshLocal(IResource.DEPTH_INFINITE, _monitor); } } catch (IOException e) { e.printStackTrace(); } catch (CoreException e) { e.printStackTrace(); }
  public void doSave(IProgressMonitor _monitor) {    MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Not Yet", "Yeah, it can, but I'm not going to let you. It's safer for all of us at the moment.");    /*     try {     EOModelEditorInput input = (EOModelEditorInput) getEditorInput();     if (input != null) {     EOModel model = input.getModel();     List failures = new LinkedList();     model.verify(failures);     handleModelErrors(failures);     IFile originalFile = input.getFile();     IContainer originalFolder = originalFile.getParent();     model.saveToFolder(originalFolder.getLocation().toFile());     originalFolder.refreshLocal(IResource.DEPTH_INFINITE, _monitor);     setInput(new FileEditorInput(originalFile));     }     }     catch (IOException e) {     e.printStackTrace();     }     catch (CoreException e) {     e.printStackTrace();     }     */  }