Getting the root element of a IDiagramContainer

3 views
Skip to first unread message

Simone Di Cola

unread,
Jun 16, 2014, 11:15:55 AM6/16/14
to spray...@googlegroups.com
Hi Joerg,
 as in the subject, having an IDiagramContainer how do I get the root element? 
 
 In practice, how do I have access the nice method getModel90? :) 

Simone 

Simone Di Cola

unread,
Jun 16, 2014, 11:20:46 AM6/16/14
to spray...@googlegroups.com
Found:  CompositeComponent compositeComponent = CompositeDesignModelService.getModelService(targetContainer.getDiagramTypeProvider()).getModel();

Do not why, but Eclipse kept give me an error on this....
Reply all
Reply to author
Forward
0 new messages