Book a Demo

Author Topic: Change format of listed attributes in diagram  (Read 3952 times)

Jochen K.

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Change format of listed attributes in diagram
« on: October 17, 2009, 03:18:05 am »
Hello,

is there a way to change the format (bold, underline, add leading characters,..) of the listed attributes/columns within a class/table diagram ?

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Change format of listed attributes in diagram
« Reply #1 on: October 18, 2009, 11:38:23 pm »
Hi JKO,

Nope, AFAIK there is not. You may influence this, at least partially, when you write a shape-script for your elements. But only if you take care about rendering all compartments yourself (no use of native shape).

HTH,
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Change format of listed attributes in diagram
« Reply #2 on: October 19, 2009, 06:41:23 pm »
I think you should be very careful when changing the format of an attribute in a diagram.
Some formatting has a semantical meaning:
- Underline = static
- Italic = abstract

Geert

Jochen K.

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Change format of listed attributes in diagram
« Reply #3 on: October 19, 2009, 08:38:42 pm »
Hello Geert,

many thanks for your answer.
The reason for my question is not to change the semantic for a class but rather to use the <table> class to document a data model for which it would be helpfull to display mandatory columns in bold or document Foreign Keys by a leading FK similar to PK etc.

So I guess, this should be passed as a change request.

Thanks again,
Jochen

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Change format of listed attributes in diagram
« Reply #4 on: October 19, 2009, 08:44:00 pm »
Hi Jochen,

Make sure it's a formal request through one of the links below.  Placing it in the Suggestions and Requests category is not enough.

It's been requested before, but each request helps.  Competitive products like Embarcadero ER/Studio have this capability.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Change format of listed attributes in diagram
« Reply #5 on: October 21, 2009, 06:31:14 am »
Not so sure anymore, if this would be even possible with shape script capabilities. As far I remember, I once was stuck with how to list attributes or operations from a shape script.
Could also be solved somehow, through providing additional details (text[prefix,postfix,style]/icons) in the 'Feature Visibility' dialogue on the attribute/operation levels. But shape scripting should be supported also.

Get's my vote, since I came over this issue also ...

Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/