Hi Tony,
After some Googling (plone), I presume you are using ArchGenXML.
Looks like a nice project, worth some more investigation, some day.
Too bad ArchGenXML did not release anything for over a year now - is the
project dead?
Since I know almost nothing about plone etc., I can only try to tell you how
to create a class according UML on a transition in a statemachine.
Hence, indeed on the Transition, you create a Effect of the type
CreateAction (words with capitals are formal UML names, as usd in ArgoUML).
On the propertiespanel of the CreateAction, you right-click in the
Instantiation field, and select "Add".
In the dialog that pops up, select the class that you want to create.
I foresee 2 possible problems:
- You can only classes in this dialog if they are in a certain Namespace,
i.e. visible for the Statemachine. In some cases (not here AFAIK) the class
even needs to be an "inner" class of the one represented by the statemachine
(i.e. its Context).
- The class to be created may need the correct constructor. The easiest way
to accomplish this, is with the critic "Add constructor for <classname>": it
has a wizard to add the constructor.
Again, I have no idea if the ArchGenXML generator indeed requires this...
Hope this helps,
Regards,
Michiel
----- Original Message -----
From: "tonydevlin" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 03, 2007 3:01 PM
Subject: [argouml-dev] argouml create action
I have created different workflows in argouml. I want a workflow when it
reaches a certain transition to link directly to another class when it is
run in plone. On the desired transition I have added in the effect box a
new create action, I then named it and in instanstiation I moved accross
the
class diagram that I wanted to be selected. I dont know what to put in
the
other boxes like arguments or scripts. when running it in plone it did
not
seem to do anything. What am i doing wrong. i would appreciate it if you
could give me some advice. Thanks.
--
View this message in context:
http://www.nabble.com/argouml-create-action-tf3512478.html#a9809815
Sent from the argouml - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date:
31/03/2007 20:54
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]