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

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.ArchitectureElement.GetEntityName()


      //return all the instantiations
      for(int i=0; i< children.length;i++){
        if (children[i] instanceof EntityInstElement) {
          //do not add recursive children
          EntityInstElement e = (EntityInstElement)children[i];
          if(e.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase())==false){
            childInstantiations.add(e);
          }
        }
        if (children[i] instanceof ComponentInstElement) {
          //do not add recursive children
View Full Code Here


          }
        }
        if (children[i] instanceof ComponentInstElement) {
          //do not add recursive children
          ComponentInstElement comp = (ComponentInstElement)children[i];
          if(comp.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase())==false){
            childInstantiations.add(comp);
          }         
        }
      }
      return (Object[]) childInstantiations.toArray();
View Full Code Here

      for(int i=0; i< children.length;i++){
        if (children[i] instanceof EntityInstElement) {
          EntityInstElement entityInst = (EntityInstElement)children[i];
          //if we hit one instantiation, we've got children
          //beware of recursive definitions
          if(entityInst.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase()) == false){
            return true;
          }
        }
        if (children[i] instanceof ComponentInstElement) {
          ComponentInstElement componentInst = (ComponentInstElement)children[i];
View Full Code Here

        }
        if (children[i] instanceof ComponentInstElement) {
          ComponentInstElement componentInst = (ComponentInstElement)children[i];
          //if we hit one instantiation, we've got children
          //beware of recursive definitions
          if(componentInst.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase()) == false){
            return true;
          }         
        }
      }
      return false;
View Full Code Here

    topLevelElements = database.findTopLevelElements("");
    for (int i=0;i<topLevelElements.length;i++){
      //architectures
      if (topLevelElements[i] instanceof ArchitectureElement) {
        ArchitectureElement arch = (ArchitectureElement) topLevelElements[i];
        String archEntityName=arch.GetEntityName().toUpperCase();
        //if the entity name exists, get its list otherwise create a list
        if(m_EntityArchList.containsKey(archEntityName)){         
          archList=m_EntityArchList.get(archEntityName);
        }
        else{
View Full Code Here

            }
          }
          // jump to architecture
           if(elements[i] instanceof ArchitectureElement ){
             ArchitectureElement architureElement =(ArchitectureElement)elements[i];
             if(architureElement.GetEntityName().equalsIgnoreCase(selectionText)){
               editor.showElement(architureElement);
             }
           }
          
           if(elements[i] instanceof PackageDeclElement ){
View Full Code Here

            results.add(children[i]);
          }
        }
        if (currentElement instanceof ArchitectureElement) {
          ArchitectureElement arch = (ArchitectureElement) currentElement;
          entityName=arch.GetEntityName();
         
        }       
        currentElement=currentElement.getParent();
      }     
     
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.