Examples of UiJobManager


Examples of org.jitterbit.application.ui.job.UiJobManager

    public void updateRootCache(ServerFile file, String[] roots) {
        rootCache.updateRootCache(file, roots);
    }

    public void retrieveRootNames(ServerFile file) {
        UiJobManager jobMgr = ApplicationUi.getJobManager();
        if (getRootsJob != null) {
            jobMgr.cancelJob(getRootsJob);
        }
        getRootsJob = new GetRootsJob(startPage, file);
        getRootsJob.submit();
        UiUtils.setEnabledRecursively(startPage.getMainPanel(), false);
        try {
View Full Code Here

Examples of org.jitterbit.application.ui.job.UiJobManager

            UiUtils.setEnabledRecursively(startPage.getMainPanel(), true);
        }
    }

    public void cancelCurrentJob() {
        UiJobManager jobMgr = ApplicationUi.getJobManager();
        if (getRootsJob != null) {
            jobMgr.cancelJob(getRootsJob);
            getRootsJob = null;
        }
    }
View Full Code Here

Examples of org.jitterbit.application.ui.job.UiJobManager

        }
    }

    private void cancelCurrentJob() {
        if (currentJob != null) {
            UiJobManager jobMgr = ApplicationUi.getJobManager();
            jobMgr.cancelJob(currentJob);
            currentJob = null;
        }
    }
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.