Book a Demo

Author Topic: Generated robustness diagrams--no UI objects  (Read 5749 times)

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Generated robustness diagrams--no UI objects
« on: February 16, 2011, 10:12:23 am »
Hi all. I'm trying out some of the ICONIX stuff in EA. I've created a domain model and UI model. I create a use case containing context references to these domain/UI classes. When I generate a robustness diagram, it doesn't place any of my UI objects (screens) as Boundary objects on the diagram. The EA help states:

"Each UI element in a step becomes a Boundary element.  A Dependency relationship is created from this Boundary element to the UI element (this connector is not shown on the diagram). "

No Entity elements appear on the diagram either.

Further, if I drag a screen element onto the generated diagram it shows as a UI Screen representation and I can't change the stereotype (e.g. to make it a Boundary stereotype so it will display as a Boundary class).

What am I doing wrong? Thanks.
« Last Edit: February 16, 2011, 10:19:07 am by vjr »

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Generated robustness diagrams--no UI objects
« Reply #1 on: February 16, 2011, 11:27:44 am »
An update.. I've had some success. I created a new model based on the ICONIX 'pattern' and started with that as a base. I added some steps to their Use Case1 and had it refer to their existing Class 1 and Subclass 1 elements, and the Screen1 element, and generated a Robustness diagram. This seems to work ok. Still not sure what the issue is with my original model though. I'll keep experimenting.

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Generated robustness diagrams--no UI objects
« Reply #2 on: February 16, 2011, 01:01:37 pm »
<I've put this on hold until I investigate more  :) >
« Last Edit: February 16, 2011, 01:20:54 pm by vjr »

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Generated robustness diagrams--no UI objects
« Reply #3 on: February 16, 2011, 01:27:11 pm »
The icon to the left of your scenario steps is important.  This shows whether the step is a 'user' or 'system' step.  You can change this type by either double-clicking on the icon, or right-click on the step and select "Set step as User/System".

Quote
  • Each step with a System trigger becomes a Controller. Alternate/exception path Controllers are displayed with a red background color
  • Each step with a User trigger becomes the name of the Association between Controllers

See the example on the following page:
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_fundamentals/generated_robustness_diagram.html
(this example seems pretty similar to what you are trying to accomplish)

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Generated robustness diagrams--no UI objects
« Reply #4 on: February 16, 2011, 01:38:14 pm »
Thanks for that. I have an ICONIX book and I'll go through it more systematically. The ICONIX facilities in EA look very useful.

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Generated robustness diagrams--no UI objects
« Reply #5 on: February 16, 2011, 02:59:05 pm »
Ok I have a question. I have the following first steps of a use case:

1. The system displays the Main Application Window
2. The User chooses the Open Project option from the Main Application Window

Use is an actor, Main Application Window is a screen

The generated robustness diagram does not generate an association between the User and the Main Application Window

However if I re-word the first step thus:

1. The system displays the Main Application Window to the User

Isn't line 2 of the use case enough to form this association? Thanks.

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Generated robustness diagrams--no UI objects
« Reply #6 on: February 17, 2011, 07:15:24 am »
Also, I have two alternate flows. One is user initiated

4a. User Cancels
1. The user decides not to load the project and chooses Cancel

the other system initiated

5a System can't load XYZ file
1. The system fails to load the XYZ Project File

(The continuation of the basic flow is as follows)

3. The system displays a standard file browsing dialog, filtered on the XYZ Project File extension
4. The user browses for and chooses the XYZ Project File containing his project
5. The system extracts the Project Details from the XYZ Project File

Only in the second case do I get the alternate flow appearing on the diagram. What's wrong here?

PS: None of my entity classes are showing up on the diagram.
« Last Edit: February 17, 2011, 07:25:21 am by vjr »