Feature Seq Initializer to link 2 objects [message #549864] |
Wed, 28 July 2010 05:22  |
Eclipse User |
|
|
|
Hi,
I am implemeting a small diagram editor and I need to initialize a subdiagram with 2 nodes and a link between them.
Thus I used the "feature seq initilizer" as shown there to create the 2 nodes I need :
************************************************************ **********
-Top node reference <regions:...>
---Node mapping <Region/...>
------Feature Seq Initializer <Region(StateObject)>
---------Reference New Element Spec <stateobjects:=new StateObjects [2]>
-------------Feature Seq Initializer <new Init(Type)>
----------------Feature Value Spec <Type:=...>
-------------------Value Expression InitType::Init
-------------Feature Seq Initializer <new State(Name)>
----------------Feature Value Spec <Name:=...>
-------------------Value Expression 'DefaultStateName'
...
************************************************************ **********
Then I want generate a link (Transition = Polyline connection) between these 2 specific objects.
But I can't find how to make sure the link can be created between these 2. Does anyone have an idea?
Thx
Fab
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08086 seconds