Book a Demo

Author Topic: Partitions or Swimlanes ???  (Read 6944 times)

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Partitions or Swimlanes ???
« on: November 29, 2004, 07:21:23 am »
G'day folks,

After having searched the forum, still don't know what the advantages of one over the other.

I've read that partitions are semantically better.  Can anyone elaborate?

My immediate observations on partitions:
  • pain to align and size
  • clutter up the project browser
« Last Edit: November 29, 2004, 07:22:58 am by jasonv »
Cheers and best regards.

potterm

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Partitions or Swimlanes ???
« Reply #1 on: November 29, 2004, 09:10:12 am »
CJ,

I'm not sure about the semantics, but partitions in EA do at least "grab" anything within their boundary (much like a boundary does)....therefore making it easier to re-organise your diagram if moving things around (unlike swimlanes, which are not connected to diagram elements at all).

Martin.

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Cheers and best regards.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Partitions or Swimlanes ???
« Reply #3 on: November 30, 2004, 04:54:27 pm »
Double-click on a partition and you'll see the main difference between partitions and swimlanes: partitions get the full Properties dialog with the Require, Constraints, Link, Scenario etc pages. Swimlanes are a drawing convenience, no more.
The Sparx Team
[email protected]

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: Partitions or Swimlanes ???
« Reply #4 on: December 01, 2004, 05:43:01 am »
G'day,

Can anyone give a very short and clear example of why/when one would set any properties for a partition?

Cheers and best regards.

thomaskilian

  • Guest
Re: Partitions or Swimlanes ???
« Reply #5 on: December 01, 2004, 06:32:57 am »
Quote
OMG UML Specification  
 
  
 The OMG UML specification (UML 2.0 Superstructure, p. 307) states:  
 
  
 "Partitions divide the nodes and edges to constrain and show a view of the contained nodes. Partitions can share contents. They often correspond to organizational units in a business model. They may be used to allocate characteristics or resources among the nodes of an activity."  
 

For that reason you at least like to enter some comment, maybe constraints, etc.

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: Partitions or Swimlanes ???
« Reply #6 on: December 01, 2004, 08:13:45 am »
Thanks Thomas.

So I can treat a partition the same way as I would treat any "object".  I can classify it, set properties for it, link it to other elements, etc.

Would it be worth requesting a feature to show or not show a partition (or an object) using rectangle versus partition notation?  The reason I ask is that I would hate duplicating objects as partitions (duplicate elements) in my documentation (properties, links, etc. etc.).
Cheers and best regards.

thomaskilian

  • Guest
Re: Partitions or Swimlanes ???
« Reply #7 on: December 02, 2004, 02:24:02 am »
CJ,
I do not work too much with activities/partitions so I'm not shure whether your request would be UML compliant. I noticed that dragging an activity into a partition also moves it in the browser, whilst dragging it outside does not have a similar effect. Also dragging a partition onto another diagram does not place the embedded activities on the diagram. The "Insert Related Elements"  from the context menu actually does not show the partitions activities although it might be inteded to do so  ???