Book a Demo

Author Topic: Display less columns in table/diagram  (Read 4361 times)

Bill Egge

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Display less columns in table/diagram
« on: August 05, 2005, 07:58:16 am »
I have a diagram with tables in it and a few tables have over 200 columns.  It takes a lot of diagram space for these tables and I would like to reduce this space by eliminating the display of non important columns.

Is this possible?  Any hacky tricks to accomplish it?

:-/

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Display less columns in table/diagram
« Reply #1 on: August 05, 2005, 05:08:07 pm »
Quote
I have a diagram with tables in it and a few tables have over 200 columns.  It takes a lot of diagram space for these tables and I would like to reduce this space by eliminating the display of non important columns.

Is this possible?  Any hacky tricks to accomplish it?

 :-/
Hi Bill,
You can add "display control" stereotypes to your model (I preface mine with tilde "~" so they stand out).  By applying these to the columns you DON'T want displayed, you can control their visibility via the Set Feature Visibility (Ctrl-Shift-Y).  It's the box in the bottom left corner...  (Hide Stereotyped Features)

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Display less columns in table/diagram
« Reply #2 on: August 07, 2005, 06:20:51 pm »
I suspect that there isn't actually any way of doing it.  At least not without compromising any DDL generation from the table.

My reasoning is that the columns already are stereotyped.  You can change this stereotype to hide some, but that will (I think) break the generation.

Possibly the best way to do it is to make a copy of your table and delete the irrelevant columns from the copy.

Simon
« Last Edit: August 07, 2005, 06:22:35 pm by simonm »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Display less columns in table/diagram
« Reply #3 on: August 07, 2005, 07:24:20 pm »
Quote
[size=13][SNIP][/size]
My reasoning is that the columns already are stereotyped.  You can change this stereotype to hide some, but that will (I think) break the generation.
[size=13][SNIP][/size]
Sorry Bill,
I forgot EA DOESN'T implement UML2 here and only allows one stereotype per attribute... ???

Orthogonality, Orthogonality, Orthogonality! TM

Regretfully,
Paolo

BTW: I've previously suggested to Sparx that they provide the same functionality for tagged values - which would be more useful.
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

thomaskilian

  • Guest
Re: Display less columns in table/diagram
« Reply #4 on: August 08, 2005, 03:39:14 am »
Quote
I suspect that there isn't actually any way of doing it.  At least not without compromising any DDL generation from the table.

My reasoning is that the columns already are stereotyped.  You can change this stereotype to hide some, but that will (I think) break the generation.

Possibly the best way to do it is to make a copy of your table and delete the irrelevant columns from the copy.

Simon


... or you're doing like Bruce: create a specialized class stereotyped as <<facade>> and add only the methods/attributes of interest.