Package org.jitterbit.application.ui.window.editor

Examples of org.jitterbit.application.ui.window.editor.EditorService.closeAllEditors()


        // 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
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.