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

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


          }
        }
        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


      //list of architectures for this entity
      return (Object[])m_EntityArchList.get(entityName).toArray();
    }
    else if (parentElement instanceof ComponentInstElement) {
      ComponentInstElement compInst = (ComponentInstElement) parentElement;
      String componentName= compInst.GetEntityName().toUpperCase();
      //list of architectures for this entity
      return (Object[])m_EntityArchList.get(componentName).toArray();
    }
   
    return null;
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

      }
      return (archList.size() != 0);
    }
    else if (element instanceof ComponentInstElement) {
      ComponentInstElement compInst = (ComponentInstElement) element;
      String componentName= compInst.GetEntityName().toUpperCase();
      //list of architectures for this entity
      Vector<ArchitectureElement> archList=m_EntityArchList.get(componentName);
      if(archList==null){
        return false;
      }
View Full Code Here

            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
          if (childElements[j] instanceof ComponentInstElement) {
            ComponentInstElement compInst = (ComponentInstElement) childElements[j];
            String nameParts[] = compInst.GetEntityName().toUpperCase().split("\\.");
            String n=
              nameParts.length==0 ? compInst.GetEntityName() : nameParts[nameParts.length-1];
            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
View Full Code Here

          }
          if (childElements[j] instanceof ComponentInstElement) {
            ComponentInstElement compInst = (ComponentInstElement) childElements[j];
            String nameParts[] = compInst.GetEntityName().toUpperCase().split("\\.");
            String n=
              nameParts.length==0 ? compInst.GetEntityName() : nameParts[nameParts.length-1];
            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
        }
      }
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.