Package org.apache.ivyde.eclipse.cpcontainer

Examples of org.apache.ivyde.eclipse.cpcontainer.IvyMultiResolveJob


        List allContainers = new ArrayList();
        for (int i = 0; i < projects.length; i++) {
            allContainers.addAll(IvyClasspathUtil.getIvyClasspathContainers(projects[i]));
        }

        Job resolveAllJob = new IvyMultiResolveJob(allContainers);
        resolveAllJob.setUser(true);
        resolveAllJob.schedule();
    }
View Full Code Here


        List allContainers = new ArrayList();
        for (int i = 0; i < projects.length; i++) {
            allContainers.addAll(IvyClasspathUtil.getIvyClasspathContainers(projects[i]));
        }

        Job multipleResolveJob = new IvyMultiResolveJob(allContainers);
        multipleResolveJob.setUser(true);
        multipleResolveJob.schedule();
    }
View Full Code Here

        // Let's try to be nice and use the workspace method to schedule resolves in
        // dependent projects after the close operation has finished.
        IResourceRuleFactory ruleFactory = ResourcesPlugin.getWorkspace().getRuleFactory();
        ISchedulingRule modifyRule = ruleFactory.modifyRule(javaProject.getCorrespondingResource());
        List affectedContainers = getAffectedContainers(javaProject.getPath());
        IvyMultiResolveJob multiResolveJob = new IvyMultiResolveJob(affectedContainers);
        multiResolveJob.setRule(modifyRule);
        multiResolveJob.schedule();

    }
View Full Code Here

        // dependent projects after the open operation has finished.
        IResourceRuleFactory ruleFactory = ResourcesPlugin.getWorkspace().getRuleFactory();
        ISchedulingRule modifyRule = ruleFactory.modifyRule(ResourcesPlugin.getWorkspace()
                .getRoot());
        List allContainers = getAllContainersExcludingProjects(projects);
        IvyMultiResolveJob multiResolveJob = new IvyMultiResolveJob(allContainers);
        multiResolveJob.setRule(modifyRule);
        multiResolveJob.schedule();
    }
View Full Code Here

TOP

Related Classes of org.apache.ivyde.eclipse.cpcontainer.IvyMultiResolveJob

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.