> From: Bamdad Dashtban <[email protected]> > Date: Thu, Aug 9, 2012 at 3:54 PM > Subject: Adding new DataflowEditAction through Plugin > To: List for general discussion and hacking of the Taverna project < > [email protected]> > > > Hi
Hello > I want to create a new *DataflowEditAction* which triggers an action when a > user* right clicks* on a service on workflow explorer and clicks on my new * > EditAction*. That is almost correct. You need both a subclass of DataflowEditAction and something to put in the menu. For example net.sf.taverna.t2.workbench.design.actions.AddDataflowInputAction does the code to add the dataflow input and net.sf.taverna.t2.ui.menu.items.dataflow.CreateInputMenuAction extends AbstractContextualMenuAction and puts the thing into the menu. > I searched the source code and found that I have to create * > DataFlowEditAction*, but I don't know how can I create the same effect > using plugins or if it is possible. Yes, it is certainly possible with plugins. I am currently working on a plugin that allows the creation of nested workflows (and components) from parts of a workflow, and it uses this mechanism. > Can someone please help me with that? > > Best Regards, > Bamda Alan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
