// We close all editors first. This is to prevent any open transformations from being
// opened automatically when the project is re-opened. This is turn is because we may
// delete JTR files, which would automatically cause the user to be prompted to login
// to a server when the project is re-opened, which may be distracting.
EditorService editors = view.getWindow().getEditorService();
if (editors.closeAllEditors()) {
try {
view.getProjectManager().closeCurrentProject();
return true;
} catch (CloseProjectVetoException ex) {
// Shouldn't happen since we have closed all pages, but even if it does happen