Package org.eclipse.emf.common.util

Examples of org.eclipse.emf.common.util.EList


  }

  public List<ApplicationType> getApplications() {
    final List<ApplicationType> allApplications = new ArrayList<ApplicationType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList applications = facesConfig.getApplication();
      allApplications.addAll(applications);
    }
    return allApplications;
  }
View Full Code Here


  }

  public List<FactoryType> getFactories() {
    final List<FactoryType> allFactories = new ArrayList<FactoryType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList factories = facesConfig.getFactory();
      allFactories.addAll(factories);
    }
    return allFactories;
  }
View Full Code Here

  }

  public List<ComponentType> getComponents() {
    final List<ComponentType> allComponents = new ArrayList<ComponentType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList components = facesConfig.getComponent();
      allComponents.addAll(components);
    }
    return allComponents;
  }
View Full Code Here

  }

  public List<ReferencedBeanType> getReferencedBeans() {
    final List<ReferencedBeanType> allReferencedBeans = new ArrayList<ReferencedBeanType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) { 
      final EList referencedBeans = facesConfig.getReferencedBean();
      allReferencedBeans.addAll(referencedBeans);
    }
    return allReferencedBeans;
  }
View Full Code Here

  }

  public List<RenderKitType> getRenderKits() {
    final List<RenderKitType>  allRenderKits = new ArrayList<RenderKitType> ();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList renderKits = facesConfig.getRenderKit();
      allRenderKits.addAll(renderKits);
    }
    return allRenderKits;
  }
View Full Code Here

  }

  public List<LifecycleType> getLifecycles() {
    final List<LifecycleType> allLifecycles = new ArrayList<LifecycleType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList lifecycles = facesConfig.getLifecycle();
      allLifecycles.addAll(lifecycles);
    }
    return allLifecycles;
  }
View Full Code Here

   
    public List<BehaviorType> getBehaviors()
    {
    final List<BehaviorType> allBehaviors = new ArrayList<BehaviorType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList behaviors = facesConfig.getBehavior();
      allBehaviors.addAll(behaviors);
    }
    return allBehaviors;
    }
View Full Code Here

   
    public List<FacesConfigExtensionType> getFacesConfigExtensions()
    {
    final List<FacesConfigExtensionType> allFCExts = new ArrayList<FacesConfigExtensionType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) { 
      final EList fcExts = facesConfig.getFacesConfigExtension();
      allFCExts.addAll(fcExts);
    }
    return allFCExts;
    }
View Full Code Here

         * @param jsfLib
         * @param logMissingJar true to log an error for each invalid JAR.
         * @return elements
         */
        public final IPath[] getJARPathforJSFLib(JSFLibrary jsfLib, boolean logMissingJar) {       
            EList archiveFiles = jsfLib.getArchiveFiles();
            int numJars = archiveFiles.size();
            IPath[] elements = new IPath[numJars];
            ArchiveFile ar = null;
            for (int i= 0; i < numJars; i++) {
                ar = (ArchiveFile)archiveFiles.get(i);
                if ( !ar.exists() && logMissingJar ) {
                    logErroronMissingJAR(jsfLib, ar);
                }
                elements[i] = new Path(((ArchiveFile)archiveFiles.get(i)).getResolvedSourceLocation()).makeAbsolute();
            }
            return elements;
        }  
View Full Code Here

         * @param jsfLib
         * @param logMissingJar true to log an error for each invalid JAR.
         * @return elements
         */
        public final IPath[] getJARPathforJSFLibwFilterMissingJars(JSFLibrary jsfLib, boolean logMissingJar) {
            EList archiveFiles = jsfLib.getArchiveFiles();
            int numJars = numberofValidJar(archiveFiles);
            IPath[] elements = new IPath[numJars];
            ArchiveFile ar = null;
            int idxValidJar = 0;
            for (int i= 0; i < archiveFiles.size(); i++) {
                ar = (ArchiveFile)archiveFiles.get(i);
                if ( !ar.exists() ) {
                    if (logMissingJar) {
                        logErroronMissingJAR(jsfLib, ar);
                    }
                } else {
                    elements[idxValidJar] = new Path(((ArchiveFile)archiveFiles.get(i)).getResolvedSourceLocation()).makeAbsolute();
                    idxValidJar++;
                }
            }
            return elements;       
        }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.common.util.EList

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.