Examples of toWGAVersion()


Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

                referencePath = reference.replace("::", tmpPath);
                referencePath = referencePath.replaceAll(":", "/");
                //referencePath += "." + scriptType;
            } else {
                VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(referer);       
                if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
                    if (reference.endsWith("@base")) {                            
                        IPath path = referer.getFullPath();
                        if (path.toString().contains("/overlay/")) {
                            // this is a base reference in an overlay provider - remove @base marker and add overlay root
                            reference = reference.substring(0, reference.lastIndexOf("@"));               
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

                referencePath = reference.replace("::", tmpPath);
                referencePath = referencePath.replaceAll(":", "/");
                //referencePath += "." + scriptType;
            } else {
                VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(referer);       
                if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
                    if (reference.endsWith("@base")) {                            
                        IPath path = referer.getFullPath();
                        if (path.toString().contains("/overlay/")) {
                            // this is a base reference in an overlay provider - remove @base marker and add overlay root
                            reference = reference.substring(0, reference.lastIndexOf("@"));               
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

    }
    IFolder tmlFolder = getTmlRoot();
   
    if (referer != null) {
        VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(referer);   
        if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
            IPath path = referer.getFullPath().makeRelativeTo(getTmlRoot().getFullPath().append(WGADesignStructureHelper.determineMediaKey(referer)));
                if (path.toString().startsWith("overlay/") && !reference.startsWith("::")) {
                    if (reference.toLowerCase().endsWith("@base")) {
                        reference = reference.substring(0, reference.lastIndexOf("@"));       
                    } else  {
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

    }
    IFolder tmlFolder = getTmlRoot();
   
    if (referer != null) {
        VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(referer);   
        if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
            IPath path = referer.getFullPath().makeRelativeTo(getTmlRoot().getFullPath().append(WGADesignStructureHelper.determineMediaKey(referer)));
                if (path.toString().startsWith("overlay/") && !reference.startsWith("::")) {
                    if (reference.toLowerCase().endsWith("@base")) {
                        reference = reference.substring(0, reference.lastIndexOf("@"));       
                    } else  {
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

        referencePath = reference.replace("::", tmpPath);
        referencePath = referencePath.replaceAll(":", "/");
        referencePath += "." + scriptType;
      } else {
          VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(referer);       
          if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
              IPath path = referer.getFullPath();
                    if (path.toString().contains("/overlay/")) {
                        if (reference.endsWith("@base")) {                                                
                        reference = reference.substring(0, reference.lastIndexOf("@"));                   
                    } else {
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

        referencePath = reference.replace("::", tmpPath);
        referencePath = referencePath.replaceAll(":", "/");
        referencePath += "." + scriptType;
      } else {
          VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(referer);       
          if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
              IPath path = referer.getFullPath();
                    if (path.toString().contains("/overlay/")) {
                        if (reference.endsWith("@base")) {                                                
                        reference = reference.substring(0, reference.lastIndexOf("@"));                   
                    } else {
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

          if (resource.equals(fFilesFolder)) {
            return true;
          } else if (resource instanceof IFolder) {
            fFileContainers.add((IFolder) resource);
            VersionCompliance compliance = WGADesignStructureHelper.getWGAVersionCompliance(getSyncInfo());
            if (compliance != null && compliance.toWGAVersion() != null && compliance.toWGAVersion().isAtLeast(5,4)) {
                return true;
            } else {
                return false;
            }
          } else {
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

          if (resource.equals(fFilesFolder)) {
            return true;
          } else if (resource instanceof IFolder) {
            fFileContainers.add((IFolder) resource);
            VersionCompliance compliance = WGADesignStructureHelper.getWGAVersionCompliance(getSyncInfo());
            if (compliance != null && compliance.toWGAVersion() != null && compliance.toWGAVersion().isAtLeast(5,4)) {
                return true;
            } else {
                return false;
            }
          } else {
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

        IPath tmp = null;
       
        String reference = currentFile.toString().replaceAll("\\/", ":");
       
       
        if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
            if (reference.startsWith("overlay:") && pathOfEditedFile.toString().contains("overlay")) {
                reference = reference.substring("overlay:".length());
            } else if (pathOfEditedFile.toString().contains("overlay")) {
                reference = reference + "@base";
            }
View Full Code Here

Examples of de.innovationgate.wga.model.VersionCompliance.toWGAVersion()

        IPath tmp = null;
       
        String reference = currentFile.toString().replaceAll("\\/", ":");
       
       
        if (versionCompliance != null && versionCompliance.toWGAVersion() != null && versionCompliance.toWGAVersion().isAtLeast(5, 4)) {
            if (reference.startsWith("overlay:") && pathOfEditedFile.toString().contains("overlay")) {
                reference = reference.substring("overlay:".length());
            } else if (pathOfEditedFile.toString().contains("overlay")) {
                reference = reference + "@base";
            }
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.