|How to get a diagram programmatically? [message #685906]
||Mon, 20 June 2011 12:05
Registered: October 2009
I am generating some diagram elements with information based on the active diagram page.
I know that there is no problem to create model elements for the model resource but I need a way to create them also in the corresponding diagram (that is: based on information of the CompositeStructure diagram, add some elements in the ClassDiagram).
I am able to get the current editor and so the current diagram (and the the edit part and so on), but I am not able to select a different diagram, which could be closed or opened in a tab of the SashEditor in order to get the edit part I need to generate what I want.
Is there a way to programmatically change the current tab (or open a diagram)?
Powered by FUDForum
. Page generated in 0.01811 seconds