| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <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="SetConsoleLoggerStartup" interface="org.apache.taverna.workbench.StartupSPI" /> --> |
| |
| <service ref="StoreWindowStateOnShutdown" interface="org.apache.taverna.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="org.apache.taverna.workbench.ui.Workbench" /> |
| |
| <reference id="editManager" interface="org.apache.taverna.workbench.edits.EditManager" /> |
| <reference id="fileManager" interface="org.apache.taverna.workbench.file.FileManager" /> |
| <reference id="menuManager" interface="org.apache.taverna.ui.menu.MenuManager" /> |
| <reference id="selectionManager" interface="org.apache.taverna.workbench.selection.SelectionManager" /> |
| <reference id="pluginManager" interface="uk.org.taverna.commons.plugin.PluginManager" /> |
| <reference id="workbenchConfiguration" interface="org.apache.taverna.workbench.configuration.workbench.WorkbenchConfiguration" /> |
| <reference id="applicationConfiguration" interface="uk.org.taverna.configuration.app.ApplicationConfiguration" /> |
| <reference id="t2ConfigurationFrame" interface="org.apache.taverna.workbench.configuration.workbench.ui.T2ConfigurationFrame" /> |
| |
| <list id="perspectives" interface="org.apache.taverna.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="org.apache.taverna.workbench.StartupSPI" cardinality="0..N" comparator-ref="StartupComparator"/> |
| <list id="shutdownHooks" interface="org.apache.taverna.workbench.ShutdownSPI" cardinality="0..N" comparator-ref="ShutdownComparator"/> |
| |
| </beans:beans> |