}
// now search in the port of the entity of this architecture:
if(architectureEntityName!=null){
OutlineDatabase database = doc.getOutlineDatabase();
OutlineContainer outline = database.getOutlineContainer(doc.getFile());
OutlineElement[] children= outline.getTopLevelElements();
for (OutlineElement child:children){
if (! (child instanceof EntityDeclElement)) continue;
EntityDeclElement entityDecl = (EntityDeclElement) child;
//if we find an entity declaration, search ports for signalname