Book a Demo

Author Topic: Business Rules  (Read 10457 times)

nara_c

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Business Rules
« Reply #15 on: April 12, 2006, 06:32:36 pm »
Further to my earlier post.  You can download the sample Requirements profile from:
http://sharepoint.knowledgerecovery.com/external/eaug/Tools/Forms/AllItems.aspx

Thanks Bruno for a superquick account setup.

For details on how to import this and include in toolbar refer UML Profiles in EA Help.

This can be extended further to change the decoration on the top right corner of the Stereotype notation from 'R' to 'BR' if required.  So there are a lot more possibilites.

HTH
Cheers

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Business Rules
« Reply #16 on: April 12, 2006, 06:52:24 pm »
Nara,

Don't you just love it when a plan comes together. I already have it - and have enen found it after I downloaded it to the wrong directory...

I took a look at the raw XML and I think you've got the essence of this just right. I'll look at it in EA tomorrow sometime; it's been a long day and I don't want to miss something.

Thanks much,
David
No, you can't have it!

nara_c

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Business Rules
« Reply #17 on: April 12, 2006, 09:52:08 pm »
Noticed I had uploaded an initial version of the UML Profile on the Sharepoint site and have now updated it with the correct one (ver 1.1).  

The earlier one (ver 1.0) did not have a demo of how tagged values can be selected from a list.

Optional steps follow:
After importing the profile if you would like a "B" to appear on the top right corner of your Requirement notation then do the following.

1) Download the Requirements profile from the EA User Group Sharepoint site
http://sharepoint.knowledgerecovery.com/external/eaug/Tools/Forms/AllItems.aspx

2) Ensure that the model you want to use it in is open in EA and then import the profile from the Resource view.  (Check EA Help file for more details.)

3) After importing the Requirements Profile, open the stereotypes settings from the EA menu - "Settings > UML > Stereotypes" menu.

4) Select the stereotype "Business Rule" from the list.  The base class will be "Requirement".

5) Next, in the Overide appearance menu select the "Shape Script" option and click "Edit".

6) In the Shapescript window Cut and paste the following text (without the dashed lines - starting with Decoration and ending with the last closed curly bracketc)
------
Decoration BusinessRule
{
Orientation="NE";
SetFillColor(255,255,200);
StartPath();
Rectangle(0,0,90,100);
EndPath();
FillAndStrokePath();
Print("B");

}
------

Save the Shapescript.

Now when you create a "Business Requirement" type requirements, you will notice a B decoration within a box to differentiate it with other requirements & Features.

Let me know how you folks get along.