Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Add multiple shapes with connectors at ones(I want to add at ones several shapes)
Add multiple shapes with connectors at ones [message #988742] Sun, 02 December 2012 11:54 Go to next message
Michael Germany is currently offline Michael GermanyFriend
Messages: 2
Registered: December 2012
Junior Member
Hello Community,

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.

  • Attachment: 3shapes.png
    (Size: 3.17KB, Downloaded 125 times)
Re: Add multiple shapes with connectors at ones [message #988795 is a reply to message #988742] Mon, 03 December 2012 08:59 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member

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.

Previous Topic:Add multiple shapes with connectors at ones
Next Topic:Editor not created?
Goto Forum:

Current Time: Sun Mar 29 16:17:21 GMT 2020

Powered by FUDForum. Page generated in 0.03200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top