Work on the Documents app
[gpl/argeo-suite.git] / org.argeo.suite.workbench.rap / plugin.xml
index bdc68088c93af5afd1e76f25e97821cad6811b8d..863eb874a4ea2dc4cee98a20eb0e72d01c08ba0e 100644 (file)
                        name="Test View"
                        restorable="true">
                </view>
                        name="Test View"
                        restorable="true">
                </view>
-               <view
-                       id="org.argeo.suite.workbench.rap.myFilesView"
-                       class="org.argeo.eclipse.spring.SpringExtensionFactory"
-                       icon="theme/argeo-classic/icons/fs/fsBrowser.png"
-                       name="Files"
-                       restorable="true">
-               </view>
        </extension>
                
        <!-- EDITORS --> 
        </extension>
                
        <!-- EDITORS --> 
                        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                        name="createEntity">
        </command>         
                        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                        name="createEntity">
        </command>         
+       
+       <!-- Open correct editor given the node type --> 
+       <command
+                       id="org.argeo.suite.workbench.rap.openEntityEditor"
+                       defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+                       name="Open Editor">
+                       <commandParameter
+                       id="param.jcrId"
+                       name="The jcr identifier">
+               </commandParameter>
+               </command>    
+               
        </extension>
 
        <!-- MENU CONTRIBUTION --> 
        </extension>
 
        <!-- MENU CONTRIBUTION -->