On Mon, May 25, 2009 at 14:13, Michael Gerlich <[email protected]> wrote:
> thanks for your advice and sorry for the late response.
> I made it till the try-catch block from your code. My problem is (so I
> guess...) that I use the Taverna2 p0.1b1 code from Tom Oinn, in which
> neither EditsRegistry nor EditsManager exists, but it has Edit and Edits
> interfaces.

You don't need to do a 'dataflow edit' or the edit manager if you are
using the platform - just call .doEdit() on the Edit.

The reason for using the edit manager in the workbench is to support
undo/redo - and for triggering the 'workflow has changed' flag so that
the workbench will ask you to save the workflow before quitting. I
don't think you would need any of these while editing the workflow
using the platform.



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to