Skip to main content



      Home
Home » Eclipse Projects » GEF » How to draw swimlane with GEF
How to draw swimlane with GEF [message #145375] Wed, 28 July 2004 22: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 07: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 19: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:Idea for addressing the prerequisites problem - move EMF, GEF, and XSD to Platform
Next Topic:View Part ?
Goto Forum:
  


Current Time: Thu May 29 18:12:09 EDT 2025

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

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

Back to the top