UML  sequence diagrams offer the concepts of optional and alternative sequences. They are each represented by a box around a sequence. Alternative is sort of like if...elseif...else logic. Optional logic is sort of like if this condition is true then do this stuff with out the else condition.
Scott Fleming

On 8/19/08, uml <> wrote:
I have an actor which can click on for example save or cancel and I have a class which define my form how should I connect this actor to the class? How should I show that that actor has a choice between clicking on save or cancel button?(events in programming)

Best regards:

         Kianoosh Akhavan Karbassi

uml mailing list