Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: JulianH on November 06, 2005, 01:39:22 am

Title: Logical View - Hide Data Type?
Post by: JulianH on November 06, 2005, 01:39:22 am
Hi There. I'm currently modelling a database wirh EA. Actually, right now, I'm modelling an ERD with the Logical View "Feature".

I always inserted a data type with every attribute in a table, but now I want the chance to hide the data types (so that there are only the names of the attribute in every table visible - I don't need any data type in an erd - that's overhead ;) ) I mean, I want the data types stored for every attribute, but I don't want them visible in the model.

How can I do this?

Julian
Title: Re: Logical View - Hide Data Type?
Post by: jeshaw2 on November 06, 2005, 05:31:12 am
Julian;
Right click on the diagram element representing the table.  Select Features -> Feature Visibility Then in the Attribute Visibility panel, uncheck "all".

Hope this is what you wanted.
Title: Re: Logical View - Hide Data Type?
Post by: JulianH on November 06, 2005, 05:45:39 am
Quote
Julian;
Right click on the diagram element representing the table.  Select Features -> Feature Visibility Then in the Attribute Visibility panel, uncheck "all".

Hope this is what you wanted.



Hi jeshaw2.

It's not exactly what I wanted.

I will explain it more in detail:

- I have a table (lets say: City)
- There are attributes (lets say: Name, PostalCode, ..)
- This attributes have data types (Name has NVARCHAR2, PostalCode ..lets say LONG).

-->

CITY
-----
Name: NVARCHAR2
Postal Code : LONG
......

^--- that's what the table looks right now.

I want the table to look like this:

CITY
-----
NAME
Postal Code
......


See the difference? There should be no more data types :) I don't want to delete the data types for every attribute manually, because I need them afterwards. But I want to exclude them from being shown :) Is there a chance to do so?

Julian
Title: Re: Logical View - Hide Data Type?
Post by: thomaskilian on November 06, 2005, 08:59:34 am
You can also hide visibility by using different stereotypes.
Title: Re: Logical View - Hide Data Type?
Post by: Bruno.Cossi on November 06, 2005, 10:11:39 am
That won't help, Julian does not want to hide the attributes altogether, only their data types. I think there was a discussionabout this a while back with the conclusion that that was not possible, but that has a been a while back and EA has evolved since then. Not sure if it can do this though :-)

Bruno
Title: Re: Logical View - Hide Data Type?
Post by: JulianH on November 06, 2005, 10:18:22 am
Quote
That won't help, Julian does not want to hide the attributes altogether, only their data types. I think there was a discussionabout this a while back with the conclusion that that was not possible, but that has a been a while back and EA has evolved since then. Not sure if it can do this though :-)

Bruno

Hi Bruno.

I didn't find a menu entry that can do that. Maybe I didn't look that much, but there was no feature that could hide the "Attribute Domains".

Julian
Title: Re: Logical View - Hide Data Type?
Post by: Bruno.Cossi on November 06, 2005, 12:14:20 pm
Hi Julian,

I think you are right, this probably can't be done with the current version of EA. Definitely worth submitting as a feature request though!

Bruno

Quote
Hi Bruno.

I didn't find a menu entry that can do that. Maybe I didn't look that much, but there was no feature that could hide the "Attribute Domains".

Julian

Title: Re: Logical View - Hide Data Type?
Post by: JulianH on November 06, 2005, 12:31:37 pm
Quote
Hi Julian,

I think you are right, this probably can't be done with the current version of EA. Definitely worth submitting as a feature request though!

Bruno



Hi Bruno. Yes, this would be fine. It can't be a big deal for the developers to implement this feature. But I think it would be a great advance for all of the users, because sometimes everybody needs this feature :)
(i guess)
Julian
Title: Re: Logical View - Hide Data Type?
Post by: jeshaw2 on November 07, 2005, 04:36:47 am
When you add an attribute to a class, in the Properties window you can see the type field.  In my version of EA (771), a default type of "int" is entered.  Delete the value in that text box and it won't show on the diagram.
Title: Re: Logical View - Hide Data Type?
Post by: Bruno.Cossi on November 07, 2005, 04:43:57 am
Hi,

the point is not "not to have a data type" but to have a data type, but not display it on the diagram.

Bruno

Quote
When you add an attribute to a class, in the Properties window you can see the type field.  In my version of EA (771), a default type of "int" is entered.  Delete the value in that text box and it won't show on the diagram.