Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsAdd multiple shapes with connectors at ones
https://www.eclipse.org/forums/index.php/mv/msg/440971/988742/#msg_988742
I have to implement a modelling editor for a special language. In this language there are main shapes(S1) with affixed nodes(pins (P)) and other shapes(S2). Connections (->) between shapes S1 and S2 are only possible via these Pins. Now I want to improve user experience by creating at ones a chain P->S2.
I know that I should extend a method addChild in class S1EditPart, but I still have no idea how to implement this behaviour.
Thanks ]]>Michael Germany2012-12-02T11:54:58-00:00Re: Add multiple shapes with connectors at ones
https://www.eclipse.org/forums/index.php/mv/msg/440971/988795/#msg_988795
if it is about adding childe you can get the job done in gmfmap. Add a FeatureSeqInitializer and ReferenceNewElement to your model element. You can set this up by addinf a further FeatureSweInitializer and FeatureValueSpecs to this newly created model element.