Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - peternees

Pages: [1]
1
Bugs and Issues / underlining of static operations disappears
« on: June 11, 2010, 11:56:34 pm »
My static operations are underlined in my class diagrams in EA, as should.
However, if I copy-paste this class diagram to Word, the underlining of these static operations dissapears.

2
bedankt! code werkt :

Code: [Select]
function main()
{
      myPackage = Repository.GetTreeSelectedPackage();
      for(var i=0; i < myPackage.Elements.Count; i++)    
      {
            myElement = myPackage.Elements.GetAt(i);
      
            for(var j=0; j < myElement.Attributes.Count; j++)
            {
                  myAttribute = myElement.Attributes.GetAt(j);
                  myAttribute.Name = myAttribute.Notes + " (" + myAttribute.Name + ")" ;
                  myAttribute.Update();
            }
      }
}

main();

3
I did a reverse engineering of an iSeries DB to EA, which worked fine. However tehre is one problem: the <<column>>attribute names are the technical column names, and the logical column name is generated in the <<column>>attribute note. The <<column>>attribute not can apparently not be visualised on the class diagram, which makes my diagram uncomprehensable.
So I want to move the note value to the name property (or append it it).
How could I do this?

ps: I have no experience with scripting, and am not even sure I need it for my problem.

Pages: [1]