On 09/08/2012 16:22, Bamdad Dashtban wrote:
> Thank you Alan for quick response.
>
> Do I need to somehow declare my new classes to load when the plugin is
> loaded?
>
> I guess I should follow the SPI protocol and create a new file in
> *resources/META-INF/services/
> * but I don't know what should the name of file be.
> Can you help me with that as well please?
>
> Should it be *net.sf.taverna.t2.workbench.design.actions.DataflowEditAction*
>   ?

The important one is the menu. So you need to have a file in 
META-INF/services/ called

net.sf.taverna.t2.ui.menu.MenuComponent

that contains a line similar to

net.sf.taverna.t2.ui.menu.items.dataflow.CreateInputMenuAction

If you have done the tutorial for plugin creation then you probably 
already have the file.

> Thanks
> Bamdad

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/

Reply via email to