Package net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.PackageDeclElement


               editor.showElement(architureElement);
             }
           }
          
           if(elements[i] instanceof PackageDeclElement ){
             PackageDeclElement packageDeclElement = (PackageDeclElement)elements[i];
             if (packageDeclElement.getName().equalsIgnoreCase(selectionText)) {
               editor.showElement(packageDeclElement);
             }
           }
       
        } 
View Full Code Here


      }
    }
   
    {
      OutlineDatabase database = getOutlineDatabase();
      PackageDeclElement packs[] = database.findTopLevelPackages();
      for (int p=0;p<packs.length;p++){
        PackageDeclElement packDecl = packs[p];
        OutlineElement[] enitityChildren=packDecl.getChildren();
        for(int entChildIdx=0;entChildIdx<enitityChildren.length;entChildIdx++){
          ifenitityChildren[entChildIdx].getName().equalsIgnoreCase(name)){
            results.add(enitityChildren[entChildIdx]);
          }
        }
View Full Code Here

      OutlineContainer outline = iter.next();

      Object[] obj = outline.getTopLevelElements();
      for (int i = 0; i < obj.length; i++) {
        if (obj[i] instanceof PackageDeclElement) {
          PackageDeclElement element = (PackageDeclElement) obj[i];
          list.add(element);
        }
      }
    }
    return list.toArray(new PackageDeclElement[0]);
View Full Code Here

TOP

Related Classes of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.PackageDeclElement

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.