[ http://galaxy.andromda.org:8080/jira/browse/UMLMETA-22?page=comments#action_11225 ] Wouter Zoons commented on UMLMETA-22: -------------------------------------
that's strange, because this method exists and is very simple: it returns the state machine from the underlying model element org.omg.uml.behavioralelements.activitygraphs.SubactivityState.getStateMachine() can you check your XMI manually ? it would be interesting to know how MagicDraw stores this information meaning: what can I expect when calling the statement above > Activity Diagrams - Sub Activity State - getSubmachine API problems > ------------------------------------------------------------------- > > Key: UMLMETA-22 > URL: http://galaxy.andromda.org:8080/jira/browse/UMLMETA-22 > Project: UML Metafacades > Type: Bug > Versions: 3.0 M3 > Environment: Jboss 4.0, maven 1.0, androMDA, 3.0 rc1 nightly > Reporter: Jean-Baptiste Guillois > Assignee: Wouter Zoons > Fix For: 3.0 RC1 > > Thanks to the improvement (very fast!) you've made on the activity graphs, it > is now possible to detect Subactivity states in an activity graph. > I designed an activity graph, with an initial state, a subactivitystate and a > final state, all linked by two transitions. On the subactivity state, i > configured a submachine through the "include" combo box in magic draw v9. > But if you try to generate some stuff with it, i ran into problems: > - using the the getTarget() method of a transition, i can get an object of > type (org.andromda.metafacades.uml14.SubactivityStateFacadeLogicImpl[null]). > - But if try a getSubmachine() on this object, i go nothing and my template > complains because the expression is not a valid reference. > Do i missed something about using the subactivity state ? > thanks for your (always very responsive) help! > /JBG -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://galaxy.andromda.org:8080/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
