Package org.apache.ivyde.eclipse.retrieve

Examples of org.apache.ivyde.eclipse.retrieve.RetrieveSetupManager


            Map/* <IProject, Set<StandaloneRetrieveSetup>> */retrieveSetups, IProject project) {
        List ivycps = IvyClasspathUtil.getIvyClasspathContainers(project);
        if (!ivycps.isEmpty()) {
            containers.put(project, new HashSet(ivycps));
        }
        RetrieveSetupManager manager = IvyPlugin.getDefault().getRetrieveSetupManager();
        List setupList;
        try {
            setupList = manager.getSetup(project);
        } catch (IOException e) {
            IvyPlugin.log(IStatus.WARNING, "Unable to get the retrieve setup for project "
                    + project.getName(), e);
            return;
        }
View Full Code Here


        super.start(context);
        this.bundleContext = context;
        log(IStatus.INFO, "starting IvyDE plugin", null);
        ivyResolveJob = new IvyResolveJob();

        retrieveSetupManager = new RetrieveSetupManager();

        IWorkspace workspace = ResourcesPlugin.getWorkspace();
        workspace.addSaveParticipant(this, retrieveSetupManager);

        colorManager = new ColorManager();
View Full Code Here

                    .getString(PreferenceConstants.RETRIEVE_PATTERN));
        }

        setup.setRetrieveSetup(retrieveSetup);

        RetrieveSetupManager manager = IvyPlugin.getDefault().getRetrieveSetupManager();
        IProject project = conf.getJavaProject().getProject();
        List retrieveSetups;
        try {
            retrieveSetups = manager.getSetup(project);
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            return;
        }
        retrieveSetups.add(setup);
        try {
            manager.save(project, retrieveSetups);
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.ivyde.eclipse.retrieve.RetrieveSetupManager

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.