Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Partition in Activity Diagram
Partition in Activity Diagram [message #537299] Tue, 01 June 2010 20:31 Go to next message
Nabil  is currently offline Nabil Friend
Messages: 7
Registered: June 2010
Junior Member
Hi,

Is is possible to create a partition inside an activity diagram?
Because inside the graphical editor, there is no icon for activity partition. If yes, can I have the solution to do that ?

Thanks,

Nabil
Re: Partition in Activity Diagram [message #537325 is a reply to message #537299] Wed, 02 June 2010 00:26 Go to previous messageGo to next message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 168
Registered: July 2009
Location: Palaiseau, France
Senior Member
Hi Nabil,

You can find the tool to create Activity partitions in the "Groups" drawer of the palette for the Activity Diagram Editor.

Regards,
Remi


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: Partition in Activity Diagram [message #543332 is a reply to message #537299] Tue, 29 June 2010 07:31 Go to previous messageGo to next message
Vincent   is currently offline Vincent Friend
Messages: 35
Registered: December 2009
Member
Hello,
for now, Activity Partitions do not work correctly in the Activity Diagram.

You can create a node which corresponds to an Activity Partition, but it will not be able to contain nodes (not currently implemented).

If you do so, I suggest you use the right click menu "Format>Order>Send To Back", to keep it behind every other node.
Thanks to the group management feature, nodes will be assigned to partitions by placing them above it, but for now, they will not be graphically contained by it. (thought, you will be asked by a popup whether you want the nodes to be graphically contained, which is not possible yet)

I suggest you try and create your partitions latest, then send it to back to have all your nodes above.
The group management feature should automatically assign the nodes to the partition.


I'm afraid this bug will not be corrected for the next release.

Regards,
Vincent.
Re: Partition in Activity Diagram [message #546435 is a reply to message #543332] Mon, 12 July 2010 18:39 Go to previous messageGo to next message
Nabil  is currently offline Nabil Friend
Messages: 7
Registered: June 2010
Junior Member
Hi,

Thank you for answering, now it's enough clear for me. Do you know if there is others differences between uml papyrus implementation and uml omg standard? (I hope I am enough clear in my question...)
Re: Partition in Activity Diagram [message #546492 is a reply to message #537299] Tue, 13 July 2010 06:53 Go to previous message
Vincent   is currently offline Vincent Friend
Messages: 35
Registered: December 2009
Member
Vincent H wrote on Tue, 29 June 2010 03:31

You can create a node which corresponds to an Activity Partition, but it will not be able to contain nodes (not currently implemented).

...

I'm afraid this bug will not be corrected for the next release.



Meanwhile, it has been implemented... So now, you can create nodes in an Activity Partition, though you may have difficulties to drag them out of it after (this is a known bug, which you can work around by droping in an intermediate StructuredActivityNode which does not contain the node, before droping it in its original place out of the partition).

Nabil wrote on Mon, 12 July 2010 14:39
Hi,

Thank you for answering, now it's enough clear for me. Do you know if there is others differences between uml papyrus implementation and uml omg standard? (I hope I am enough clear in my question...)

Sure you are clear, yet not precise enough.
Papyrus tries to be as close to the UML specification (OMG standard) as possible.
Some features have not been implemented due to a lack of time (and considered as bugs). Some others because they are only shortcuts and we considered they did not have the priority, though we do not eliminate the possibility of implementing them later.
I could not list all of them right here and right now. The best way to know for a particular element is to ask as you did when you encounter problems.

For what I can tell aboutthe activity diagram (this is not a complete list):
- Activity groups have been very quickly developped and are not fully mature. You may encounter bugs among them (do not hesitate to report them on the bugzilla if you find some which are not already referenced).
- Triangle symbol for exception flows is missing.
- Only most usefull actions have been implemented.
- Shortcut for representing two pins around an object flow in a same rectangle has not been implemented (see http:// www.eclipse.org/forums/index.php?t=msg&th=170835&sta rt=0&)

Regards,
Vincent.
Previous Topic:Papyrus 1.12: Does UML OCL validation on models really work?
Next Topic:Papyrus does not install in Helios
Goto Forum:
  


Current Time: Tue Jul 07 14:02:53 GMT 2020

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

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

Back to the top