Author Topic: Adding notes to a model element  (Read 3544 times)

Gary_Barnes

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Adding notes to a model element
« on: October 02, 2006, 06:50:46 pm »
I have an EA repository which has a number of models under it which I would like to document using the notes field. However it appears that it is not possible to edit the notes for a model element. Can this be changed? Is there a workaround?

Gary
Give a hard job to a lazy man,
He will find an easy way to do it.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Adding notes to a model element
« Reply #1 on: October 02, 2006, 10:04:34 pm »
Quote
Is there a workaround?

unfortunately no.  AFAIK the root node is not a packacge per se.  :(
I have raised this previously here.

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8605
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Adding notes to a model element
« Reply #2 on: October 02, 2006, 10:58:08 pm »
Quote
unfortunately no.  AFAIK the root node is not a package per se.  :(
I have raised this previously here.

bruce
Well, in my view, Models, Views and Packages are all Containers and all deserve the same basic attributes of being able to be (in)formally described...

I observe that Models appear in t_package but don't appear in t_object (and hence your observation). Presumably that's why you can't even add notes via the database directly, and have them be rendered...

I agree with Gary...  Every element in the browser should have notes attached.

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

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Adding notes to a model element
« Reply #3 on: October 03, 2006, 04:46:01 am »
This certainly needs some attention. In EA, "Model" refers to a useful construct for holding the entire 'thing' you are working with. The convenience of having several of these "models" is nice too.

However, in the various OMG metamodels, "model" is treated as yet another element type. This is to allow models to be manipulted as required.

We've got a legacy issue here, which might be difficult to fully address until EA version 7. [Sparx, please note the subtle suggestion here.]

In the meantime, perhaps Sparx could upen up the notes (and other) fields on the model, or at least its underlying package element (it has one in the EA database).

In another thread there is a request to include EA "models" in package diagrams. This is an example of how the OMG "model" would allow this without issue, but in EA it would be tricky without breaking the way the EA element tree is supposed to work.
No, you can't have it!

Gary_Barnes

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Adding notes to a model element
« Reply #4 on: October 04, 2006, 10:59:19 pm »
I just noticed that I can't add a tagged value to a model either.  :'(

Gary
Give a hard job to a lazy man,
He will find an easy way to do it.