Package org.locationtech.udig.project.internal

Examples of org.locationtech.udig.project.internal.ProjectElement.eResource()


   * Test method for 'org.locationtech.udig.project.ui.internal.actions.Delete.operate(ProjectElement)'
   */
  @Test
  public void testOperateProjectElement() {
    ProjectElement element = project.getElementsInternal().get(0);
    Resource resource=element.eResource();
    DeleteAccessor deleteAction=new DeleteAccessor();
    deleteAction.runDoDelete(element, false, Window.OK);
   
    assertNull(element.getProject());
    assertNull(element.eResource());
View Full Code Here


    Resource resource=element.eResource();
    DeleteAccessor deleteAction=new DeleteAccessor();
    deleteAction.runDoDelete(element, false, Window.OK);
   
    assertNull(element.getProject());
    assertNull(element.eResource());
   
    assertEquals(0, resource.getContents().size());
    assertFalse(resource.isLoaded());
  }
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.