[ 
http://galaxy.andromda.org:8080/jira/browse/UMLMETA-22?page=comments#action_11253
 ]
     
Jean-Baptiste Guillois commented on UMLMETA-22:
-----------------------------------------------

- to create a subacivitystate in MagicDraw9, you can take the following steps:
1) create an activitygraph
2) in the toolbar between tree and diagram view, click on "ActionState" and 
keep the mouse button pressed, you will then see a popup, with the different 
state types (subactivityn submachine, etc...)

- I really think that the getSubmachine() method is not working just because is 
is inherited from the SubmachineActionState and this Metafacade does NOT exist 
in the current metafacade model. (you only have adde the SubactivityState ,not 
SubmachineState which is its parent)

What do you think?

/JBG

> 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



-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to