Package org.locationtech.udig.project

Examples of org.locationtech.udig.project.IProjectElement


        if (url == null) {
            throw new IllegalArgumentException("URL cannot be null.");
        }

        IProjectElement elem = null;
        if (target == null) {
            target = ApplicationGIS.getActiveProject();
        }
        Shell activeShell = null;// invalid thread access when drag and dropping
        // if shell =
View Full Code Here


    assertTrue( registry.getProjects().contains(project) );
    assertNotNull(project.eResource());
    assertEquals(project, project.getElementsInternal().get(0).getProject());

        Resource resource = project.eResource();
        IProjectElement elem = project.getElements().get(0);
       
        // Test remove project but leave files
    deleteAction.runDoDelete(project,false, Window.OK);
    assertEquals(0, registry.getProjects().size());
    assertTrue( new File(projecturi.toFileString()).exists() );
View Full Code Here

                // ok not a file either
                ProjectUIPlugin.log("Some how accept() accepted: " + getData(), new Exception()); //$NON-NLS-1$
                return;
            }

            IProjectElement elem;
            try {
                elem = ApplicationGIS.loadProjectElement(url, ApplicationGIS.getActiveProject());
                if ( elem instanceof IProjectElement )
                    ApplicationGIS.openProjectElement((IProjectElement) elem,false);
            } catch (IllegalArgumentException e) {
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.IProjectElement

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.