-
1. Re: Clone
camunda Nov 22, 2007 3:54 AM (in response to msandoz)I don't get it, what do you want to clone. Node's of the process definition?
Where, while design time in the designer?
The Command's apply only on stuff done with the jbpmContext, so if you would like to clone a process already deployed, that may be a command...
So, what's the use case for that cloning? -
2. Re: Clone
tom.baeyens Nov 22, 2007 5:29 AM (in response to msandoz)i think msandoz means copy-and-paste in the designer and not the runtime.
-
3. Re: Clone
koen.aers Nov 22, 2007 4:48 PM (in response to msandoz)Yes, Matthew is one of the hardcore designer extenders ;-)
I would expect that when I clone a node, I clone the whole Monty... But maybe others expect other things.
Regards,
Koen -
4. Re: Clone
msandoz Nov 23, 2007 10:26 AM (in response to msandoz)quite right Koen, i mean to copy the nodes at design time.
Since this is for cut/copy/paste functionality i will need to copy the action handler and its data, as well as other node attributes. For other types I will have to copy their attributes as well. i will also need to copy included transitions - that is those whose endpoints are both within the selection set.
if i decide to support it for the tree as well, i'll need to also be able to copy things like actions, tasks, etc though that is a secondary concern right now.