Package org.eclipse.m2e.wtp.overlay.internal.modulecore

Examples of org.eclipse.m2e.wtp.overlay.internal.modulecore.OverlayVirtualArchiveComponent


  public static IOverlayVirtualComponent createSelfOverlayComponent(IProject aProject) {
    return new OverlaySelfComponent(aProject);
  }

  public static IOverlayVirtualComponent createOverlayArchiveComponent(IProject aComponentProject, String archiveLocation, IPath unpackDirPath, IPath aRuntimePath) throws CoreException {
    final OverlayVirtualArchiveComponent component = new OverlayVirtualArchiveComponent(aComponentProject, archiveLocation, unpackDirPath, aRuntimePath);
    return component;
  }
View Full Code Here


  private IOverlayVirtualComponent createSelfComponent(IVirtualComponent component) {
    return new OverlaySelfComponent(component.getProject());
  }

  private IOverlayVirtualComponent createArchivecomponent(IVirtualComponent component, String url, String targetPath, IPath runtimePath) {
    return new OverlayVirtualArchiveComponent(component.getProject(),
        url,
        component.getProject().getFolder(targetPath).getProjectRelativePath(),
        runtimePath);
  }
View Full Code Here

      rc.setArchiveName(reference.getArchiveName());
      rc.setRuntimePath(reference.getRuntimePath());
      URI handle;
      Map<String, String> parameters = new LinkedHashMap<String, String>(3);
      if (comp instanceof OverlayVirtualArchiveComponent) {
        OverlayVirtualArchiveComponent archivecomp = (OverlayVirtualArchiveComponent) comp;
        handle = URI.createURI(VAR_ARCHIVE_PROTOCOL+archivecomp.getArchivePath().toPortableString());
        parameters.put(UNPACK_FOLDER, archivecomp.getUnpackFolderPath().toPortableString());
      } else {
        IProject p = comp.getProject();
        if (p.equals(reference.getEnclosingComponent().getProject())) {
            handle = URI.createURI(SELF_PROTOCOL);
        } else {
View Full Code Here

TOP

Related Classes of org.eclipse.m2e.wtp.overlay.internal.modulecore.OverlayVirtualArchiveComponent

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.