Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how can i create a swimlane?
how can i create a swimlane? [message #177245] Thu, 13 March 2008 23:15 Go to next message
Eclipse UserFriend
Originally posted by: ijerez2001.msn.com

Hi all,

I try to create a sequence diagram where I have to split in roles.
I want to make a swimlane (I have seen in DSL Tools that it´s possible) to
do it, but I don´t know if it is implemented.

Can anyone help me?

Thanks!
Re: how can i create a swimlane? [message #177494 is a reply to message #177245] Sun, 16 March 2008 10:21 Go to previous message
Eclipse UserFriend
Originally posted by: jan.koehnlein.web.de

Iván -

implementing a sequence diagram with GMF will be a hard task, as
sequence diagrams are not plain graphs structurally, e.g. the position
of a message carries semantic information.

Nevertheless, the easiest way to create something like swimlanes is to
use a freeform (non-list) compartment. It will not have the
auto-size/-layout features you'd expect, but it will be easy to
implement and stable. Note that in plain GMF, the elements contained in
the compartment must also be contained semantically in the semantic
element of the swimlane. For a given metamodel, this is only true in
very rare cases.

You can also have a look at the uml tools form the MDT project. They
have added swimlanes, e.g. to the activity diagram editor. AFAIK, that
requires a significant amount of manual changes to the generated code,
as well as hand written LayoutEditPolicies etc. Maybe the MDT guys and
gals can help you.

- Jan

Iván Jerez wrote:
> Hi all,
>
> I try to create a sequence diagram where I have to split in roles.
> I want to make a swimlane (I have seen in DSL Tools that it´s possible)
> to do it, but I don´t know if it is implemented.
>
> Can anyone help me?
>
> Thanks!
Previous Topic:[Newbie] Default values, derived, changeable, transient, volatile
Next Topic:BorderItem
Goto Forum:
  


Current Time: Thu Apr 25 20:55:39 GMT 2024

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

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

Back to the top