Package org.eclipse.jst.jsf.facesconfig.emf

Examples of org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType


     
    IFile jsp = (IFile)wr.getResource();
    List<NavigationRuleType> rules = JSFAppConfigManagerFactory.getJSFAppConfigManagerInstance(wr.getProject()).getNavigationRulesForPage(jsp);
    for (final NavigationRuleType rule : rules) {
      for (Iterator cases=rule.getNavigationCase().iterator();cases.hasNext();) {       
        NavigationCaseType navCase = (NavigationCaseType)cases.next();         
        if (navCase.getFromOutcome() != null && navCase.getFromOutcome().getTextContent() != null &&
            value.equals(navCase.getFromOutcome().getTextContent().trim()))
          return true;       
      }
    }
    if (JSFVersion.valueOfProject(jsp.getProject()).compareTo(JSFVersion.V2_0) >= 0) {
      int index = value.indexOf('?');
View Full Code Here


  private List createProposals(NavigationRuleType rule) {
    List ret = new ArrayList();
    List cases = rule.getNavigationCase();
    for (Iterator it=cases.iterator();it.hasNext();) {
      NavigationCaseType navCase = (NavigationCaseType)it.next();
      PossibleValue pv = createProposal(rule, navCase);
      if (pv != null)
        ret.add(pv);
    }
    return ret;
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType

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.