Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to draw swimlane with GEF
How to draw swimlane with GEF [message #145375] Thu, 29 July 2004 02:31 Go to next message
Eclipse UserFriend
Originally posted by: wangwei_org.hotmail.com

Hi!

Is there any facilities in GEF can help me to draw swimlane?
Thanks!
Re: How to draw swimlane with GEF [message #145444 is a reply to message #145375] Thu, 29 July 2004 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brian.fernandes.codito.com

No - there is no inbuilt facility that allows swimlanes.

What you can do, is, use a horizontal ToolbarLayout for your diagram with
RectangleFigures of a specified width to act as swimlanes. Set the
StretchMinorAxis to true.

For the RectangleFigures of your "Lane" EditParts, use setPreferredSize to
set them to the minium required swim lane size. Use a modified layoutManager
for the "Lane" RectangleFigures. Your Layouts layout method can check the
children in the swimlane and see if the lane height needs to be increased
(and by how much). If it needs to be increased simply change the
preferredSize of the Lane to the new size.

All the best,
Brian


"WANG Wei" <wangwei_org@hotmail.com> wrote in message
news:ce9nif$91m$1@eclipse.org...
> Hi!
>
> Is there any facilities in GEF can help me to draw swimlane?
> Thanks!
>
>
Re: How to draw swimlane with GEF [message #145751 is a reply to message #145375] Fri, 30 July 2004 23:18 Go to previous message
Eclipse UserFriend
Originally posted by: sforgren.aol.com

I am looking for the same thing. Ability to represent application, web, and
database servers in different swimlanes such as development, test, and
production. Please let me know if you find a good approach. Thanks, Scott
Forsgren

"WANG Wei" <wangwei_org@hotmail.com> wrote in message
news:ce9nif$91m$1@eclipse.org...
> Hi!
>
> Is there any facilities in GEF can help me to draw swimlane?
> Thanks!
>
>
Previous Topic:Update all child figures when adding new one?
Next Topic:Question Regarding Zooming of ClassDiagram
Goto Forum:
  


Current Time: Wed Sep 18 21:43:47 GMT 2019

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

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

Back to the top