Book a Demo

Author Topic: What relationship can I use?  (Read 3166 times)

superguppie

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
What relationship can I use?
« on: November 05, 2010, 02:30:24 am »
I am a new user. Still finding my way. There is probably a simple answer to my question. It's just not as simple as I had thought to find it.

In my project i have a state machine. The UI consists of a set of forms. Which forms are visible depends on the state of the state machine. To show the relation between the state and the visibility of the forms, I thought of using a relationship matrix.
I have set the states as Source, and the forms as Target. All fine.
However, I have to set a Link type to determine what kind of relationship there is. No matter which one I try, whenever I try to make a connection between a state and a form, I get the message that "The requested connection is not UML compliant".

Which link type will allow me to do this? Or should I use another technique to express this relationship?

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: What relationship can I use?
« Reply #1 on: November 05, 2010, 05:10:43 am »
By "form" I take it you mean a mock-up of the UI (e.g., on a User Interface diagram)?

If so, well, User Interface elements are not actually UML elements so there isn't a way to establish a UML-compliant relationship to them.

It's an interesting idea, though....

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: What relationship can I use?
« Reply #2 on: November 05, 2010, 08:36:11 am »
Quote
User Interface elements are not actually UML elements so there isn't a way to establish a UML-compliant relationship to them.

Aren't they stereotyped classes or objects? A dependency relationship should always be UML compliant then.

superguppie

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: What relationship can I use?
« Reply #3 on: November 06, 2010, 12:49:30 am »
Actually, the Forms I use are also classes in a class diagram. And they are in a separate package. So the matrix for the states of the state machine to the classes in that package could work for me as well.
I have found a UsedBy Link Type doesn't give me error messages. But I am wondering what more experienced users would use.

Oh, and this isn't a neat top-down design. I'm actually reverse engineering an existing project. Trying to describe as much as I can with EA. Good learning experience. Trying to figure out what to use for what.