+ 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.rcp / plugin.xml
index 53eaa525dbbbd2b15145f679f8769161c1722413..4ddf700d5456c41c166c5d01eb25e977cd5a38c7 100644 (file)
       </callbackHandlerMapping>
    </extension>
    
+       <!-- COMMANDS --> 
+       <extension point="org.eclipse.ui.commands">
+               <!-- Register a default command that enable an "open file" action in a single sourced application  -->  
+               <command
+                       defaultHandler="org.argeo.eclipse.ui.specific.OpenFile"
+                       id="org.argeo.security.ui.specific.openFile"
+                       name="OpenFile">
+                       <commandParameter
+                       id="param.fileName"
+                       name="The name of the file to open (optional)">
+                       </commandParameter>
+            <commandParameter
+                       id="param.fileURI"
+                       name="The URI of this file on the server">
+                       </commandParameter>
+                       <commandParameter
+                       id="param.filePath"
+                       name="The absolute path of this file on the server file system">
+                       </commandParameter>
+               </command>
+       </extension>
 </plugin>