It is Taverna 3 a2. Worbench is defined as an interface. The code Aleksandra has posted is from Biocatalogue plugin, I think.
I can inject Workbench via OSGI, but there is no getPerspectives() methods in it :-( Dmitry On 2/5/2014 12:21 PM, Alan R Williams wrote: > On 05/02/2014 10:26, Dmitry wrote: >> Hello, > Hello Dmitry, > >> My plugin allows to import an operation into a workflow via >> WorkflowView.importServiceDescription(...). >> After that I would like to switch into the design perspective, but can't >> figure out how to do this. >> There is a setSelectedPerspective(...) method in the SelectionManager, >> but how can I get the DesignPerspective? >> It looks like the Workbench interface lacks getPerspectives() method. >> Is there a method to do this? > Just to check, is this in Taverna 3 or Taverna 2? > >> Thank you in advance, >> >> Dmitry > Alan > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > taverna-hackers mailing list > taverna-hackers@lists.sourceforge.net > 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/ > > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ taverna-hackers mailing list taverna-hackers@lists.sourceforge.net 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/