Author Topic: Hyperlinked Model Elements  (Read 4768 times)

robH

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Hyperlinked Model Elements
« on: May 03, 2005, 08:50:49 am »
I've already requested this a while back directly to Sparx but thought I'd post it here as I got no feedback before.

I put quite a lot textual description against elements in my models. Often the text refers to other model elements.

I'd like a feature that I can drag a model element onto a textual description and a hyperlink to the element is automatically created. The name of the link is the name of the element and can automatically be updated if the referenced model element changes.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Hyperlinked Model Elements
« Reply #1 on: May 03, 2005, 11:22:16 am »
Hi,

you can do much the same within EA already. Dragging and dropping an element onto a diagram (not onto an element) can create a hyperlink.

Hope this helps,
Bruno

Quote
I've already requested this a while back directly to Sparx but thought I'd post it here as I got no feedback before.

I put quite a lot textual description against elements in my models. Often the text refers to other model elements.

I'd like a feature that I can drag a model element onto a textual description and a hyperlink to the element is automatically created. The name of the link is the name of the element and can automatically be updated if the referenced model element changes.


alexander

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Hyperlinked Model Elements
« Reply #2 on: May 03, 2005, 12:48:03 pm »
I think he wants to create hiperlinks in the text section of elements, right?
Not the same effect as having a link to the element in the diagram...

robH

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Hyperlinked Model Elements
« Reply #3 on: May 03, 2005, 01:52:42 pm »
Thats right Alexander - I want to be able to put hyperlinks into the text. I find that diagrams are fine but, I still end up with quite a bit of text in the notes field for elements and often they refer to other model elements. Instead of having to manually enter the text adding a link to the other model element removes the chance for error (unless I select the wrong model element) and also give a nice link to the other model element so when you're reading the text you can automatically traverse to the element.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Hyperlinked Model Elements
« Reply #4 on: May 03, 2005, 04:10:26 pm »
This would be fantastic, but I wonder about the maintenance cost?  For example, include a interface method hyperlink in a note in an object.  Now change the inteface definition.  EA would have to search all text everywhere for a hyperlink to that method for a possible update?

Alternate suggestion - already implemented, albeit not intutive - use the Related Elements functionality.

hth
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: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Hyperlinked Model Elements
« Reply #5 on: May 03, 2005, 06:08:53 pm »
Quote
This would be fantastic, but I wonder about the maintenance cost?  For example, include a interface method hyperlink in a note in an object.  Now change the interface definition.  EA would have to search all text everywhere for a hyperlink to that method for a possible update?

Alternate suggestion - already implemented, albeit not intuitive - use the Related Elements functionality.

hth
Bruce


Yes, indeed Bruce, the maintenance effort is "enormous" but it's there none the less, its just we humans who need to do it...

Since it's a well defined problem (essentially, hyperlinking to a bookmark and retrieving some aspect thereof) it's eminently suited to automation.   8)

MS Word seems to do it very well...  I currently have a Word document generated out of a Rose model that contains all the necessary hyperlinks and works fine.  The automation, developed locally, scans the texts and if it locates a text fragment that corresponds to a model element name, generates the appropriate hyperlink.

Maybe Fred could consider this as a suitable candidate for his Toolbox?

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

alexander

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Hyperlinked Model Elements
« Reply #6 on: May 04, 2005, 05:33:34 am »
I think this is closely related to the issue of having RTF text in element notes. This would allow hiperlinks, formatted text, objects inside the text, and so on...