Alex is adding right clicks to the Explorer and diagram for adding what is now called "template services" - that is a kind of skeleton service that then needs to be configured. (See Renaming of workflow terms [1])
For now there are 4 of these: == Template services == Add new beanshell Add new RShell Add new nested workflow Add new string constant Ideally we want these to be discovered by an SPI so plugins can provide their own, and also because we want to show these seperately in the new Service palette [2]. For the service palette we're likely to replace the current SPIs for populating the activity palette, (with something quite simpler, and that supports tree-like structures) - and part of that SPI should probably be some kind of isTemplateService() property. Until then we'll just do these as ContextualMenuComponents using the menu manager APIs, so there will be one SPI instance for each of these. We agreed to put them together with the net.sf.taverna.t2.ui-activities project - so the AddBeanshellMenuAction will be put under say net.sf.taverna.t2.activities.beanshell.menu package in http://taverna.googlecode.com/svn/taverna/ui/net.sf.taverna.t2.ui-activities/trunk/beanshell-activity-ui/ A related issue is for configuring activities - a bit more magic and possibly another SPI is needed here, as activities live inside processors and we typically want to configure the activity. (You could in theory use the same approach here with each activity providing their "Configure me" menu action for right click - but it could be better to use an SPI-based method so that we don't need to rely on right-click - for instance we could then easily add configure on double-click - configure on adding to workflow, configure on... etc.) [1] http://www.mygrid.org.uk/dev/wiki/display/story/Taverna+2.1+renaming [2] http://www.mygrid.org.uk/dev/wiki/display/story/Taverna+2.1+Activity+Palette+Replacement+Mockup -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ taverna-hackers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-hackers Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
