Package org.eclipse.wst.common.componentcore

Examples of org.eclipse.wst.common.componentcore.ArtifactEdit


    String moduleId = module.getId();

    J2EEFlexProjDeployable j2eeModule = (J2EEFlexProjDeployable) module.loadAdapter(J2EEFlexProjDeployable.class, null);
    if (j2eeModule != null) {
      // j2eeFlex
      ArtifactEdit edit = null;
      try {
        edit = ArtifactEdit.getArtifactEditForRead(j2eeModule.getProject());
        //TODO JAXB Refactoring - Can below two lines be removed without harm?
        //XMIResource res = (XMIResource) edit.getContentModelRoot().eResource();
        //moduleId = res.getID(edit.getContentModelRoot());
      } finally {
        if (edit != null)
          edit.dispose();
      }
    }

    if (moduleId != null && moduleId.length() > 0)
      return moduleId;
View Full Code Here

TOP

Related Classes of org.eclipse.wst.common.componentcore.ArtifactEdit

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.