Package org.eclipse.emf.common.util

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


  }

  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

      monitor.beginTask("", 1)

      IVirtualComponent component = ComponentCore.createComponent(compilationUnit.getJavaProject().getProject());
      WebArtifactEdit artifactEdit = WebArtifactEdit.getWebArtifactEditForWrite(component);
      WebApp webApp = (WebApp) artifactEdit.getContentModelRoot();
      EList servlets = webApp.getServlets();
      for (Iterator i = servlets.iterator(); i.hasNext();) {
        Servlet servlet = (Servlet) i.next();
        WebType webType = servlet.getWebType();
        if(webType instanceof ServletType && ((ServletType)webType).getClassName().endsWith(getRemoteInterfaceName().concat("Impl"))){
          ServletMapping servletMapping = webApp.getServletMapping(servlet);
          servlets.remove(servlet);
          webApp.getServletMappings().remove(servletMapping);
        }
      }
     
      artifactEdit.saveIfNecessary(monitor);
View Full Code Here

//-------------------------------------------------------------------------------------------------// 

  public List<ManagedBeanType> getManagedBeans() {
    final List<ManagedBeanType> allManagedBeans = new ArrayList<ManagedBeanType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {   
      final EList managedBeans = facesConfig.getManagedBean();
      allManagedBeans.addAll(managedBeans);
    }
    return allManagedBeans;
    }
View Full Code Here

  }

  public List<ValidatorType> getValidators() {
    final List<ValidatorType> allValidators = new ArrayList<ValidatorType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) { 
      final EList validators = facesConfig.getValidator();
      allValidators.addAll(validators);
    }
    return allValidators;
  }
View Full Code Here

    }

  public List<ConverterType> getConverters() {
    final List<ConverterType> allConverters = new ArrayList<ConverterType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList converters = facesConfig.getConverter();
      allConverters.addAll(converters);
    }
    return allConverters;
  }
View Full Code Here

  }

  public List<NavigationRuleType> getNavigationRules() {
    final List<NavigationRuleType> allNavigationRules = new ArrayList<NavigationRuleType>();
    for (final FacesConfigType facesConfig : getFacesConfigModels()) {
      final EList navigationRules = facesConfig.getNavigationRule();
      allNavigationRules.addAll(navigationRules);
    }
    return allNavigationRules;
  }
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.