| <?xml version="1.0" encoding="UTF-8"?> |
| <beans:beans xmlns="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:beans="http://www.springframework.org/schema/beans" |
| xsi:schemaLocation="http://www.springframework.org/schema/beans |
| http://www.springframework.org/schema/beans/spring-beans.xsd |
| http://www.springframework.org/schema/osgi |
| http://www.springframework.org/schema/osgi/spring-osgi.xsd"> |
| |
| <service ref="UserRegistrationHook" interface="net.sf.taverna.t2.workbench.StartupSPI" /> |
| <!-- <service ref="SetConsoleLoggerStartup" interface="net.sf.taverna.t2.workbench.StartupSPI" /> --> |
| |
| <service ref="StoreWindowStateOnShutdown" interface="net.sf.taverna.t2.workbench.ShutdownSPI" /> |
| |
| <service ref="ExitAction" auto-export="interfaces"> |
| <service-properties> |
| <beans:entry key="menu.action" value="file.exit" /> |
| </service-properties> |
| </service> |
| |
| <service ref="Workbench" interface="net.sf.taverna.t2.workbench.ui.Workbench" /> |
| |
| <reference id="editManager" interface="net.sf.taverna.t2.workbench.edits.EditManager" /> |
| <reference id="fileManager" interface="net.sf.taverna.t2.workbench.file.FileManager" /> |
| <reference id="menuManager" interface="net.sf.taverna.t2.ui.menu.MenuManager" /> |
| <reference id="selectionManager" interface="net.sf.taverna.t2.workbench.selection.SelectionManager" /> |
| <reference id="pluginManager" interface="uk.org.taverna.commons.plugin.PluginManager" /> |
| <reference id="workbenchConfiguration" interface="net.sf.taverna.t2.workbench.configuration.workbench.WorkbenchConfiguration" /> |
| <reference id="applicationConfiguration" interface="uk.org.taverna.configuration.app.ApplicationConfiguration" /> |
| <reference id="t2ConfigurationFrame" interface="net.sf.taverna.t2.workbench.configuration.workbench.ui.T2ConfigurationFrame" /> |
| |
| <list id="perspectives" interface="net.sf.taverna.t2.workbench.ui.zaria.PerspectiveSPI" cardinality="0..N" comparator-ref="PerspectiveComparator" greedy-proxying="true"> |
| <listener ref="Workbench" bind-method="refreshPerspectives" unbind-method="refreshPerspectives" /> |
| </list> |
| |
| <list id="startupHooks" interface="net.sf.taverna.t2.workbench.StartupSPI" cardinality="0..N" comparator-ref="StartupComparator"/> |
| <list id="shutdownHooks" interface="net.sf.taverna.t2.workbench.ShutdownSPI" cardinality="0..N" comparator-ref="ShutdownComparator"/> |
| |
| </beans:beans> |