[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] docking feature? (may be with bordered Items or ports?)

Hallo everyone,

I am a german student developing a gmf-prototyp for an mashup-concept.

What I want to realize:
  ______[Action1]__
 |                 |
 |   Widget_A      |
 |_________________|
   [Action2]
          ^
          |
          |
  ______[Event1]__
 |                 |
 |   Widget_B      |
 |_________________|
   [Action3]

I habe several widgets(normal boxes may be with a picture)
These widgets "own" actions and events. When I choose one of them over the context-menu (allready established :-) ) a docked, labeled box should appear. This docked box has to be hanging on the widget (moving with it).


How can I achieve these "docking boxes" ???

I habe heard a lot about "bordered Items" and "ports". I have tryed to realize them with the border-layout, but I even could not get an simple border-layout working. Are they made by "gmf-modeling" or only by coding ?

May be there are some more detailed diskriptions with model-examples in the web? or some tutorials?

Any help greatly appreciated!!!
Thanks!