Package org.jitterbit.application.ui.job

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


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

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

        }
    }

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

TOP

Related Classes of org.jitterbit.application.ui.job.UiJobManager

Copyright © 2018 www.massapicom. 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.