Book a Demo

Author Topic: Linking User Interfaces and Objects  (Read 11947 times)

Matt Thomas

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Linking User Interfaces and Objects
« on: March 13, 2012, 11:02:48 pm »
This question is about model connectivity i.e. traceability, with particular respect to user interfaces. We're modelling objects on sequences, some of which  represent particular user interface screens. First, stop me there if that's not a done thing.
We're also prototyping the interfaces in the model. So we have a number of user interface screens in one package, and elsewhere in the model are sequences representing the objects. So, how does one realise the objects on the sequences to be the screens? Or is there another way to connect the dots?
« Last Edit: March 13, 2012, 11:03:15 pm by MattAtPHW »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Linking User Interfaces and Objects
« Reply #1 on: March 14, 2012, 06:02:53 am »
Ctrl-drag the class onto the seq.-diagram an make it an object. Do not place the class as a link in the seq.-diagram. You can also create a lifeline and classify it with your gui element via Ctrl-L.

q.

Matt Thomas

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Linking User Interfaces and Objects
« Reply #2 on: March 14, 2012, 09:43:39 pm »
Ctrl-dragging and making it an object appears to divorce it from the class. Perhaps it doesn't, and I've not yet learnt how to go from instances to classifiers. Can you tell me that too please?  :)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Linking User Interfaces and Objects
« Reply #3 on: March 14, 2012, 11:14:34 pm »
Ctrl-drag automatically sets the classifier.

Try Ctrl-L the object. This will allow you to select a different classifier. The selection itself is very comfortable as it allows both search and navigation.

Vice versa with Ctrl-Alt-G (Advanced/Locate Classifier) will find the already selected classifier in the project browser.

q.
« Last Edit: March 14, 2012, 11:16:37 pm by qwerty »