//list of architectures
return (Object[])m_EntityArchList.get(e.getName().toUpperCase()).toArray();
}
//architecture
else if (parentElement instanceof ArchitectureElement) {
ArchitectureElement arch = (ArchitectureElement) parentElement;
Vector<VhdlOutlineElement> childInstantiations=new Vector<VhdlOutlineElement>();
OutlineElement[] children= arch.getChildren();
//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
ComponentInstElement comp = (ComponentInstElement)children[i];
if(comp.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase())==false){
childInstantiations.add(comp);
}
}
}
return (Object[]) childInstantiations.toArray();