Enhance Rap Workbench UI
[gpl/argeo-suite.git] / org.argeo.suite.workbench.rap / META-INF / spring / parts.xml
diff --git a/org.argeo.suite.workbench.rap/META-INF/spring/parts.xml b/org.argeo.suite.workbench.rap/META-INF/spring/parts.xml
new file mode 100644 (file)
index 0000000..a5bfde6
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xmlns:util="http://www.springframework.org/schema/util"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
+
+       <!-- COMMANDS -->
+       <bean id="openDashboardEditor" class="org.argeo.suite.workbench.commands.OpenDashboardEditor"
+               scope="prototype">
+               <property name="repository" ref="repository" />
+       </bean>
+
+       <!-- VIEWS -->
+       <bean id="testView" class="org.argeo.suite.workbench.parts.TestView"
+               scope="prototype">
+               <property name="repository" ref="repository" />
+       </bean>
+
+       <!-- EDITORS -->
+       <bean id="defaultDashboardEditor" class="org.argeo.suite.workbench.parts.DefaultDashboardEditor"
+               scope="prototype">
+               <property name="repository" ref="repository" />
+               <property name="peopleService" ref="peopleService" />
+               <property name="peopleWorkbenchService" ref="peopleWorkbenchService" />
+       </bean>
+</beans>