Book a Demo

Author Topic: Link UI elements to Seq. Diagrams etc.  (Read 2786 times)

msisson

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Link UI elements to Seq. Diagrams etc.
« on: August 23, 2004, 04:07:42 pm »
When I create a UI diagram and add a button to a screen, is there a way to associate a Seq. Diagram with that button?

Likewise, for each of the text boxes on my form, is there a way to convey that a particular text box is associated with a particular property of a class?

TIA,
mark

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Link UI elements to Seq. Diagrams etc.
« Reply #1 on: August 23, 2004, 04:48:21 pm »
Re seq diag - yes, you can make the button element a composite element.  But you have to create the seq diagram under the button in the project browser first!

Re associating elements with property roles.  Nows that's a good question!  You can certainly create an association to the underlying attribute - but not the property.... I have had a quick look at the superstructure but haven't got time to decipher whether this is an allowable idea.  However, the entirity of what you are doing is interesting.  It certainly would help if we could somehow sort out the class/object realisations of UI elements in EA.

For example, screen element "SC1" is really an instance of a class, say "frmSC1" which inherits directly from Windows.Forms.Form, SC1 has an owned element, say txtBox1.  txtBox1 is actually an attribute of class frmSC1 with a type of Windows.Forms.Textbox...
Now frmSC1.txtBox1 thus has a load of databinding baggage.... I think I'm drifting somewhat....


In fact, there is a logical association between an instance element and the datasupplier class...  that, as you say, is at the property level and not the attribute level. Hmmmm
"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.

msisson

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Link UI elements to Seq. Diagrams etc.
« Reply #2 on: August 23, 2004, 05:04:44 pm »
Thanks sargasso,
Could you tell me exactly how I associate my button with an underlying sequence diagram??

We'll leave the property question alone for a sec :>

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Link UI elements to Seq. Diagrams etc.
« Reply #3 on: August 23, 2004, 08:14:40 pm »
Somebody else?? I'm flat out like a proverbial lizard
B
"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.