Hello!
I have written an addin with c# for enterprise architect, where I can import elements and packages into a project. I can add them to a model and to the models packages with the addNew command, and then set the properties and call update on them. After they appear in the treeview only the name of element can be seen, and only by selecting an element or by restarting EA also the stereotype appears beside the name.
The same is with adding a new view. After it appers in the treeview, it looks like a normal package and only after restarting EA the specific icon of the view can be seen in the package icon.
So my question is how i can update the whole treeview after adding
new elements, packages and views?
with best regards, Nik