Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ahab on March 09, 2012, 10:04:39 am

Title: using the activity partition for uml profiles
Post by: ahab on March 09, 2012, 10:04:39 am
Hi,

I'm trying to create a uml profile and whant to use an activity partition for defining states (like todo, doing, done). I then want to place an element (like a requirement) in the partition and then I want to change the state of the element according to the name of the partition.

Does anyone know if this is even possible? Can you point me in the right direction for learning more?

All help is appreciated.
/Andreas
Title: Re: using the activity partition for uml profiles
Post by: Luis J. Lobo on March 23, 2012, 10:16:26 am
See:

http://www.sparxsystems.es/New/products/ea-extension-scrum.html

This add-in provides the functionality you want, and more...

What you want will be done with something like this:

Capturing the "EA_NotifyConextItemModify" broadcast event and...


EA.Element Father = Rep.GetElementByID(theElement.ParentID);
theElement.Status = Father.Name;
theElement.Update();

...where theElement is the activity partition.
Title: Re: using the activity partition for uml profiles
Post by: ahab on March 23, 2012, 06:18:56 pm
Thank you! The plugin looks interesting, I'll have a look at it, but I'm also trying to learn how to use EA so I'll also read up on EA_NotifyConextItemModify.