Examples of IvyClasspathContainerConfiguration


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

                .size()]);
    }

    private void saveChanges(IvyClasspathContainer container, File permanentSaveTarget,
            File temporaryChanges) throws IOException {
        IvyClasspathContainerConfiguration conf = container.getConf();
        IFile virtualIvyFile = conf.getJavaProject().getProject().getFile(conf.getIvyXmlPath());
        IStatus writable = virtualIvyFile.getWorkspace().validateEdit(new IFile[] {virtualIvyFile},
            IWorkspace.VALIDATE_PROMPT);
        if (writable.isOK()) {           
            FileWriter writer = new FileWriter(permanentSaveTarget, false);           
            BufferedReader reader = new BufferedReader(new FileReader(temporaryChanges));
View Full Code Here

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

    protected void handleContainer(IProject project, IvyClasspathContainer cp) {
        open(cp);
    }

    public static void open(IvyClasspathContainer cp) {
        IvyClasspathContainerConfiguration conf = cp.getConf();
        if (conf.getJavaProject() == null) {
            return;
        }
        IFile file = conf.getJavaProject().getProject().getFile(conf.getIvyXmlPath());
        IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
        if (file != null) {
            try {
                String editorId = "org.apache.ivyde.editors.IvyEditor";
                page.openEditor(new FileEditorInput(file), editorId, true);
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.