Book a Demo

Author Topic: Making visible element - notes  (Read 5680 times)

rabra

  • EA User
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Making visible element - notes
« on: December 13, 2006, 02:49:22 am »
Hallo,

In Classifiers (e.g. Use cases, classes) there is the possibility to add a note. This note is visible in generated code (classes) or in html documentation when clicking on the element.

But is there a way to show this note (that may be a  more detailed information about the contents of the element) in the diagram itself like it is possible to show attributes, tags and things like them?

Thanx,

R. B.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Making visible element - notes
« Reply #1 on: December 13, 2006, 02:55:41 am »
Hi R.B.

If you mean a Notes Compartment, not with release 800 - but maybe 801!!!

Search for Notes Compartment in the forum then you can decide whether to wait or implement feature-linked Notes which you should check the Help for.

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

potterm

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Making visible element - notes
« Reply #2 on: December 13, 2006, 05:20:50 am »
Hi R.B.

Perhaps not exactly what you are looking for, but you could also create a UML note element on the same diagram, link it to the element (using a note link) and then configure the note to display the "notes" attribute of that element.

This is done by right clicking on the note link and selecting "Link this note to an element feature".  In the resulting dialog, select "Notes" and then your newly created note will display whatever you've entered in the notes field of the element to which it is linked.

I hope that makes sense!

Cheers,
Martin.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Making visible element - notes
« Reply #3 on: December 13, 2006, 06:12:20 am »
Or for that matter you can have the attached note display the notes from (just about) any feature or component of the element. This could be an attribute, constraint, or whatever of your choice.
No, you can't have it!

gregoir

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Making visible element - notes
« Reply #4 on: February 13, 2007, 09:28:05 pm »
I am trying to display the "Use Case" notes from another diagram in the current diagram. The only way I have found to do this is to drag the use case in the form of a link, and do the link note process as described here. However I have the "Use Case" displayed and I don't want that. The only work around I have at this point is to "hide" the "Use Case" behind the note.

Is there another way?

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Making visible element - notes
« Reply #5 on: February 14, 2007, 12:34:35 am »
You can put a UC in diagram A and attach a note (linked to the element note). Then copy this note and paste in diagram B (Paste as Link).

Now when you changed the element note in yuor UC it will automaticaly changed the notes in both diagrams.
Peter

gregoir

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Making visible element - notes
« Reply #6 on: February 14, 2007, 12:25:05 pm »
That would work, but I don't need the Note in the first diagram...

I guess either way, the note and the element need to be on the same diagram one way or another. I think my "hidden element" method works best for me at this point.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Making visible element - notes
« Reply #7 on: February 14, 2007, 11:44:32 pm »
In my scenario it's possible to delete the note in diagram A. It will stay in diagram B.

In your scenario
Quote
I am trying to display the "Use Case" notes from another diagram in the current diagram. The only way I have found to do this is to drag the use case in the form of a link, and do the link note process as described here. However I have the "Use Case" displayed and I don't want that.


you can delete UC in the current diagram. The note will stay and remain linked to the UC.
Peter

gregoir

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Making visible element - notes
« Reply #8 on: February 15, 2007, 08:24:26 am »
Ah, now that is what I was looking for...

Thanks!