Examples of TapestryLibrary


Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryLibrary

      IStatus status = null;
     
      TapestryLibraryInternalReference[] compLibs = (TapestryLibraryInternalReference[]) getProperty(ITapestryFacetInstallDataModelProperties.COMPONENT_LIBRARIES);
      if (compLibs != null){
        for (int i=0;i<compLibs.length;i++){
          TapestryLibrary lib = compLibs[i].getLibrary();
          status = checkForDupeArchiveFiles(jars, lib);
            if (!OK_STATUS.equals(status)){
              return status;
            }
        }   
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryLibrary

   * @return the working copy
   * <!-- end-user-doc -->
   * @generated NOT
   */
  public TapestryLibrary getWorkingCopy() {
    TapestryLibrary workingCopyLib = TapestryLibraryRegistryFactory.eINSTANCE.createTapestryLibrary();
//    workingCopyLib.setID(getID());
    workingCopyLib.setName(getName());
    workingCopyLib.setTapestryVersion(getTapestryVersion());
    workingCopyLib.setDeployed(isDeployed());
    workingCopyLib.setImplementation(isImplementation());
    Iterator itArchiveFiles = getArchiveFiles().iterator();
    while (itArchiveFiles.hasNext()) {
      ArchiveFile srcArchiveFile = (ArchiveFile)itArchiveFiles.next();
      ArchiveFile destArchiveFile = TapestryLibraryRegistryFactory.eINSTANCE.createArchiveFile();
      destArchiveFile.setRelativeToWorkspace(srcArchiveFile.isRelativeToWorkspace());
      destArchiveFile.setSourceLocation(srcArchiveFile.getSourceLocation());
      destArchiveFile.setRelativeDestLocation(srcArchiveFile.getRelativeDestLocation());
      workingCopyLib.getArchiveFiles().add(destArchiveFile);
    }
    return workingCopyLib;
  }
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryLibrary

   * @return the jsf library of ID or null if none
   * <!-- end-user-doc -->
   * @generated NOT
   */
  public TapestryLibrary getTapestryLibraryByID(String ID) {
    TapestryLibrary library = null;
    if (ID != null) {
      Iterator itLibs = getAllTapestryLibraries().iterator();
      while (itLibs.hasNext()) {
        TapestryLibrary curLib = (TapestryLibrary)itLibs.next();
        if (ID.equals(curLib.getID())) {
          library = curLib;
          break;
        }
      }
    }
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryLibrary

  public EList getTapestryLibrariesByName(String name) {
    EList libraries = new BasicEList();
    if (name != null) {
      Iterator itLibs = getAllTapestryLibraries().iterator();
      while(itLibs.hasNext()) {
        TapestryLibrary curLib = (TapestryLibrary)itLibs.next();
        if (name.equals(curLib.getName())) {
          libraries.add(curLib);
        }
      }
    }
    return libraries;
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryLibrary

   */
  public EList getImplTapestryLibraries() {
    EList implementations = new BasicEList();
    Iterator itLibs = getAllTapestryLibraries().iterator();
    while (itLibs.hasNext()) {
      TapestryLibrary lib = (TapestryLibrary)itLibs.next();
      if (lib.isImplementation()) {
        implementations.add(lib);
      }
    }
    return implementations;
  }
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryLibrary

   */
  public EList getNonImplTapestryLibraries() {
    EList nonImplementations = new BasicEList();
    Iterator itLibs = getAllTapestryLibraries().iterator();
    while (itLibs.hasNext()) {
      TapestryLibrary lib = (TapestryLibrary)itLibs.next();
      if (!lib.isImplementation()) {
        nonImplementations.add(lib);
      }
    }
    return nonImplementations;
  }
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.