How to Build xUML

<<Step 1>> Click menu "File"->"New Project"

  Select the Executable UML item,and click "OK".

<<Step 2>> Create UseCase Diagram

Duceland Designer can create a UseCase Diagram automatically.Users can add some elements on this diagram.If more diagrams are needed, right click Project item in the tree navigation,then choose popup menu "Add UseCase diagram" and add a UseCase Diagram.

By choosing other popup menu you can create other diagrams,such as Class diagram,Sequency diagram,Collaboration diagram ect.

<<Step 3>> Design Elements

First,click one of the buttons on the left of diagram area(middle of elements tree and diagram area).

Second, drag a rectangle at diagram rea. An element will be created when mouse up.

To draw a line, click button , click one element just following by clicking another element.

<<Step 4>> Set Element Properties

Double click one Element, or right click it and choose popup menu "Property". The General page is for all element properties. The Detail page gives the details of the element. For example, the Line's property is below:



At the end,click "OK" to validate the changes .Otherwise click "Cancel".

<<Step 5>> Using UI element in executable diagram

Create an UserInterface element using the method of step 3. Double click one the UI element to set its property.

If want to show a main form, then click "Show" radio button. While answer pending form, can choose a image file such as BMP,PNG,JPG ect. to show.

If want to change the whole form, click "Change View" radio button.

If want to show a button about an usecase in exists form having image, click "Change View" radio button.

If want to show a inner view in exists form, click "Change View" radio button.

For more detail about pending form, see Answer pendding form section.

 

<<Step 6>> Using Decision element in executable diagram

Create an Decision element using the method of step 3.

The generator will generate a public field into its owner class for the Decision element. The Decision Variant name will be the field name.

Double click the Decision element to set its property.

If Variant Type is string, the Guard Condition of the branch(LinkLine) follow this Decision element may include quote(").