how to create a ClassDiagram which can get all elements of another ClassDiagram created?https://www.eclipse.org/forums/index.php/mv/msg/458619/1017956/#msg_1017956

I have created a Class Diagram which contains only "Instance Specification" Elements.

My problem is how to create a new Class Diagram in my handler that can get all the

elements which defined in the initial Class Diagram.

I'd appreciate any help on this.

Thanks in advance,
]]>sabrina ing2013-03-12T21:14:00-00:00Re: how to create a ClassDiagram which can get all elements of another ClassDiagram created?https://www.eclipse.org/forums/index.php/mv/msg/458619/1018140/#msg_1018140
Or maybe I don't understand the question.

cheers,

-- AVD]]>Arnaud Vandyck2013-03-13T08:43:18-00:00Re: how to create a ClassDiagram which can get all elements of another ClassDiagram created?https://www.eclipse.org/forums/index.php/mv/msg/458619/1018146/#msg_1018146
Thanks for your reply.

I'm doing a project using the Plug-in papyrus Marte in eclipse, I add a popup menu
using commands and Handlers in the view of the Model Explorer when creating a papyrus Model.
My goal is when I click on the command which defined by the popup menu, a ClassDiagram will be created and will contains all the elements of type "Instance Specification" that already exist in the Model Explorer.]]>sabrina ing2013-03-13T09:01:49-00:00