Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Meik on April 19, 2012, 05:55:35 pm

Title: different status sets for different elements
Post by: Meik on April 19, 2012, 05:55:35 pm
Hi,

we have defined for one project several status. It is a list of 14 entries. We try to use this list for the elements


The challenge for us is that not all elements should us the same set of entries of the status list. Is there any chance to align different status to different elements?

Many thanks in advance,

Meik
Title: Re: different status sets for different elements
Post by: qwerty on April 19, 2012, 06:45:18 pm
You might look at the OnContextItemChanged broadcast. You can use it to post-check a change based on your rules. It does not help you to pre-limit anything.

q.
Title: Re: different status sets for different elements
Post by: Meik on April 19, 2012, 06:51:54 pm
Is "OnContextItemChanged" a function of the element object? So I need to program something. Correct? Well I'm more a functional user with very limited programming skills  :-?.
Is there anything in terms of documentation which could help me to instruct one of our programmers?
Title: Re: different status sets for different elements
Post by: qwerty on April 19, 2012, 07:00:14 pm
This is somewhat deep inside the API. Your programmer should be able to find the broadcast events in the API help section of EA. You need at least basic programming experience in EA's API.

q.