UML StateChart diagram creation


J

J.Chan Kim

Hi,

I've been written code that creating "Visio UML StateChart" diagrams using
Automation.

After creating some States and Transitions shapes, I can not find out how to
create Condition & Actions objects for Transitions.

Since the method I used to find out the required Automation commands was
"Recording Macro", Transition Event related action commands were not
recorded at all.

How can I create Condition&Actions objects in StateChart diagram and combine
them with Transition object ?

Is there anyone who knows the ways of creating Transition Condition objects
in UML diagram ?

< Current Codes >
Visio::IVShapePtr tmpStateShape =
Page->Drop(Application->Documents->Item["UMLSTA_M.VSS"]->Masters->ItemU["State"],
aState.position_x, aState.position_y);
....
tmpTransitionShape =
Page->Drop(Application->Documents->Item["UMLSTA_M.VSS"]->Masters->ItemU["Transition"],
1.014006, 0.378273); ...
< Current Codes />

Thank you,

J.Chan Kim
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top