//ITreeContentProvider prov = editor.getHirarchyProvider();
ITreeContentProvider prov = HdlEditor.current().getHirarchyProvider();
if(prov instanceof VhdlHierarchyProvider) {
String componenttype = outlineElement.getType();
((VhdlHierarchyProvider)(prov)).scanOutline(new VhdlDocument(editor.getHdlDocument().getProject(),outlineElement.getFile()));
//VerilogPlugin.println("VhdlHierarchyProvider!!! "+ componenttype);
if(componenttype.startsWith("componentInst#")) {
componenttype = componenttype.substring(14);
//VerilogPlugin.println("comptype: "+ componenttype);
ArchitectureElement el = ((VhdlHierarchyProvider)(prov)).getArchElement(componenttype);