Book a Demo

Author Topic: Change appearance of elements  (Read 7163 times)

rwittmann

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Change appearance of elements
« on: September 24, 2018, 06:04:06 pm »
Hello,

I have some questions on the appearance of various elements in diagrams and how I can change it.

1. There is one component. If I drop this element as a link to any diagram, it will "Show the name under image". By default I don't want that, so after dropping the element I have to select "Hide the name under image". Strange thing here: this happens only for one specific element. Other elements with the same type and stereotypes don't show the name under the image by default.

2. I have default text in the notes field and different text in the text field. Both elements are non-selectable by default. Is there a way to reset the default text and to make these elements selectable by default?

Both items seems to be stored somewhere in the repository, other users observe the same behaviour...

Thanks, Rene

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change appearance of elements
« Reply #1 on: September 24, 2018, 06:45:16 pm »
1. What do you mean by "name under image"? Are you using an alternate image? And if so, how can that be as default?

2. I don't get it either. Where does that "default text" come from?

q.

rwittmann

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Change appearance of elements
« Reply #2 on: September 25, 2018, 06:25:56 pm »
1. Ok, now I see what you mean.
When this specific element is contained in a diagram, I can have the name of that element displayed below the image (there is an additional sub-menu item in "Appearance". "Show name under image" if the name is not displayed, "Hide name under image" if the name is displayed.)

2. That default text was entered for a note in the past. But it was not the first note for this repository, nor the latest. I just want to have a empty note field as default again...

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change appearance of elements
« Reply #3 on: September 25, 2018, 07:38:56 pm »
1. I can't help. There is no such option. Neither for a component nor a class (and probably anything else) :-/ Can you show a picture (you need to place it on a public server)?

2. Still no clue what you're doing here.

q.

rwittmann

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Change appearance of elements
« Reply #4 on: September 25, 2018, 08:30:53 pm »
1. https://drive.google.com/file/d/1JS_3ahQDqBf4ybp4G8q2SzTn1OqKQlEp/view?usp=sharing (I hope it is allowed to post a link to Google Drive)

2. I create a diagram, select the note element from the toolbox and place a new note in that diagram. The inserted note is not empty. I would expect that a new note does not contain any text.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change appearance of elements
« Reply #5 on: September 25, 2018, 08:41:39 pm »
1. Hmm. I don't have that option. What version of EA? What diagram type?

2. I'd guess you have some add-in messing around. Or you are using template packages.

q.

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 appearance of elements
« Reply #6 on: September 25, 2018, 08:51:26 pm »
1. I've never seen that option before. Must be something specific to the type of element, or the stereotype.

Geert

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Change appearance of elements
« Reply #7 on: September 26, 2018, 11:31:08 am »
1)  The element (and in this case only that element, not other elements of that type/stereotype) has an image assigned to it via the Image Manager.

See Modeling Tools > Building Models > Diagrams > Using the Image Manager

2)  I think Qwerty is right - the Notes and Text elements are coming from a Template diagram on which they have been set to Unselectable and the Note element contains a text string. I'm happy to be corrected though.
Best Regards, Roy

rwittmann

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Change appearance of elements
« Reply #8 on: September 26, 2018, 05:48:44 pm »
Thanks, all. This is giving some insight.

1. I use version 13.0.1308, in which there seems to be a bug: it seems like a image has been assigned before. But if I set the default image and the alternate image to --NONE--, the image is replaced by the default appearance for that type of element, but still the option for hiding/displaying the name under the image appears in the context menu (default: name is displayed). The only way I found was by an SQL update statement through script (StyleEx contained "DefaultImage=0", removing the DefaultImage in StyleEx will remove the context menu entries and the name under the image).

2. Roy, you seem to be right once more. If I change that elements text, the default text changes for new notes/textfields as well. But sorry: where can I set a diagram as Template diagram?

Rene

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 appearance of elements
« Reply #9 on: September 26, 2018, 06:21:52 pm »
2. Rene you are looking for the command "Project Template Package" which, in v14.1 can be found at

Configure | Reference Data | Settings | Project Template Package

Geert

rwittmann

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Change appearance of elements
« Reply #10 on: September 26, 2018, 06:28:54 pm »
Perfect! Thanks.
Same location for v13.0, I was looking for some template diagram setting and thus was not able to find it.

Rene

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change appearance of elements
« Reply #11 on: September 27, 2018, 04:21:25 am »
1. Maybe a system integrity check would correct this too?

q.