Package org.cfeclipse.cfml.dialogs.objects

Examples of org.cfeclipse.cfml.dialogs.objects.CategoryList


     
    return tabFolder;
  }
  */
  private TabFolder parseTagCategories(TabFolder tabFolder){
          CategoryList cl = getParameterCategories();
   
         
       
         
      //Now create the tabs initially:
        Iterator tabIter = cl.getCategories().iterator();
        while(tabIter.hasNext()){
          Category cat = (Category)tabIter.next();
          TabItem tabItem = new TabItem(tabFolder, SWT.NONE);
          tabItem.setText(cat.getName());
         
View Full Code Here


       
    return tabFolder;
  }
 
  private CategoryList getParameterCategories(){
    CategoryList cl = new CategoryList();
   
    if (this.attributes != null) {
   
      Iterator i = this.attributes.iterator();
      while(i.hasNext()){
        Parameter pr = (Parameter) i.next();
        Category cat = null;
       
        if(!cl.hasCategory(pr.getCategory())){
          cat = new Category(pr.getCategory());
         
          //add the Parameter
          cat.addParameter(pr);
          cl.addCategory(cat);
        }
        else {
          cat = cl.getCategory(pr.getCategory());
          cat.addParameter(pr);
        }
       
      }
    }
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.dialogs.objects.CategoryList

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.