Examples of wasSaved()


Examples of org.jitterbit.application.ui.window.editor.EditorSaverResult.wasSaved()

     */
    public void saveAndRun(Runnable job) {
        boolean canRun = true;
        if (isDirty()) {
            EditorSaverResult result = view.getEditorSaver().saveEditor(this);
            canRun = result.wasSaved(this);
        }
        if (canRun) {
            job.run();
        }
    }
View Full Code Here

Examples of org.jitterbit.application.ui.window.editor.EditorSaverResult.wasSaved()

    private boolean saveIfDirty(WebServiceCall wsCall) {
        Editor page = view.getEditorForDisplayedObject(wsCall);
        if (page != null && page.isDirty()) {
            view.getEditorService().openEditor(page);
            EditorSaverResult result = view.getEditorSaver().saveEditor(page);
            return result.wasSaved(page);
        }
        return true;
    }

    protected abstract void performActionOn(WebServiceCall wsCall);
View Full Code Here

Examples of org.jitterbit.application.ui.window.editor.EditorSaverResult.wasSaved()

    }

    private void savePageAndRun(Editor page) {
        assert page.isDirty();
        EditorSaverResult result = pageSaver.saveEditor(page);
        if (result.wasSaved(page)) {
            runJob();
        }
    }

    private void runJob() {
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.