[ http://galaxy.andromda.org:8080/jira/browse/UMLMETA-22?page=history ]
Wouter Zoons closed UMLMETA-22:
-------------------------------
Resolution: Fixed
I was able to actually test it this time, it was a typo in the code (returning
statemachine instead of submachine), if you select an activity in the 'include'
field of the subactivity's specification (MagicDraw) you are setting the
submachine, this will be returned (it will be null when it is not set)
> 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