+ register a default command in both RAP and RCP security base apps to provide generi...
[lgpl/argeo-commons.git] / security / plugins / org.argeo.security.ui.rap / META-INF / spring / commands.xml
index 1dc8d53cecea3c460d9fdc96a466c4ee69bb1cf7..3dd037a3c3c1b022fccca68f362bd6fbaf5edf90 100644 (file)
@@ -8,4 +8,15 @@
                scope="prototype">
                <property name="userDetailsManager" ref="userDetailsManager" />
        </bean>
+
+
+       <!-- RAP Specific command and corresponding service to enable open file -->
+       <bean id="org.argeo.security.ui.specific.openFile" class="org.argeo.eclipse.ui.specific.OpenFile"
+               scope="prototype">
+               <property name="openFileServiceId"
+                       value="org.argeo.security.ui.specific.openFileService" />
+       </bean>
+       <!-- Useless - nothing to inject -->
+       <!-- <bean id="org.argeo.security.ui.specific.openFileService" class="org.argeo.eclipse.ui.specific.OpenFileService" 
+               scope="prototype"> </bean> -->
 </beans>