]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.ui/plugin.xml
git-svn-id: https://svn.argeo.org/slc/trunk@4431 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / plugin.xml
index ed9362c4613a73ab996b4524546ee5a57bbd8bf0..31be01dc80585ee4ace3fab8d0a9305d91552be6 100644 (file)
 <?eclipse version="3.4"?>
 <plugin>
 
-       
+       <!-- Views --> 
    <extension
          point="org.eclipse.ui.views">
-   <view
-         id="org.argeo.slc.client.ui.executionModulesView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Execution Modules"
-         restorable="true">
-   </view>
-   <view
-         id="org.argeo.slc.client.ui.resultListView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Results"
-         restorable="true">
-   </view>
-   <view
-         id="org.argeo.slc.client.ui.resultDetailView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Result Detail"
-         allowMultiple="true"
-         restorable="true">
-   </view>
-   <view
-         id="org.argeo.slc.client.ui.processListView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Process List"
-         restorable="true">
-   </view>
-   <view
-         id="org.argeo.slc.client.ui.processDetailView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Process Details"
-         allowMultiple="true"
-         restorable="true">
-   </view>
-   <view
-         id="org.argeo.slc.client.ui.processParametersView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Process Parameters"
-         restorable="true">
-   </view>
-   <view
-         id="org.argeo.slc.client.ui.processBuilderView"
-         class="org.argeo.eclipse.spring.SpringExtensionFactory"
-         name="Process Builder"
-         restorable="true">
-   </view>
-    </extension>
-
-   <extension
-         point="org.eclipse.ui.commands">
-      <command
-            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="org.argeo.slc.client.ui.refreshResultList"
-            name="RefreshResultList">
-      </command>
-      <command
-            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="org.argeo.slc.client.ui.launchBatch"
-            name="LaunchBatch">
-      </command>
-      <command
-            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="org.argeo.slc.client.ui.removeSelectedFromBatch"
-            name="RemoveSelectedFromBatch">
-      </command>
-      <command
-            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="org.argeo.slc.client.ui.clearBatch"
-            name="ClearBatch">
-      </command>
-      <command
-            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="org.argeo.slc.client.ui.refreshProcessList"
-            name="RefreshProcessList ">
-      </command>
-        <command 
-               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-               id="org.argeo.slc.client.ui.displayProcessDetails"
-               name="DisplayProcessDetails">
-                       <commandParameter
-                       id="org.argeo.slc.client.commands.processUuid"
-                       name="Process UUID">
-                       </commandParameter>
-       </command>
-   <command 
-               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-               id="org.argeo.slc.client.ui.displayResultDetails"
-               name="DisplayResultDetails">
-                       <commandParameter
-                       id="org.argeo.slc.client.commands.resultUuid"
-                       name="Result UUID">
-                       </commandParameter>
-       </command>
-   <command 
-               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-               id="org.argeo.slc.client.ui.editRealizedFlowDetails"
-               name="EditRealizedFlowDetails">
-                       <commandParameter
-                       id="org.argeo.slc.client.commands.realizedFlowAsXml"
-                       name="RealizedFlowAsXml">
-                       </commandParameter>
-                       <commandParameter
-                       id="org.argeo.slc.client.commands.realizedFlowIndex"
-                       name="realizedFlowIndex">
-                       </commandParameter>
-       </command>
+          <view
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/execution_module.gif"
+                id="org.argeo.slc.client.ui.executionModulesView"
+                name="Execution Modules"
+                restorable="true">
+          </view>
+          <view
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/results.gif"
+                id="org.argeo.slc.client.ui.resultListView"
+                name="Results"
+                restorable="true">
+          </view>
+          <view
+                allowMultiple="true"
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/result_details.gif"
+                id="org.argeo.slc.client.ui.resultDetailView"
+                name="Result details"
+                restorable="true">
+          </view>
+        <!--  <view
+                allowMultiple="true"
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/excel.png"
+                id="org.argeo.slc.client.ui.resultExcelView"
+                name="Result details (Excel)"
+                restorable="true">
+          </view> -->
+          <view
+                id="org.argeo.slc.client.ui.processListView"
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                name="Processes"
+                icon="icons/processes.gif"
+                restorable="true">
+          </view>
+          <view
+                allowMultiple="true"
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/process_details.gif"
+                id="org.argeo.slc.client.ui.processDetailView"
+                name="Process details"
+                restorable="true">
+          </view>
+          <view
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/edit_parameters.gif"
+                id="org.argeo.slc.client.ui.processParametersView"
+                name="Process Parameters"
+                restorable="true">
+          </view>
+          <view
+                class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                icon="icons/batch.gif"
+                id="org.argeo.slc.client.ui.processBuilderView"
+                name="Batch"
+                restorable="true">
+          </view>
    </extension>
-   <extension
-        point="org.eclipse.ui.bindings">
-     <key
-           commandId="org.argeo.slc.client.ui.refreshResultList"
-           schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-           sequence="CTRL+R">
-     </key>
-  </extension>
+       
+       <!-- Commands definitions --> 
+       <extension
+       point="org.eclipse.ui.commands">
+           <!-- Result List -->
+               <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.refreshResultList"
+               name="Refresh Result List">
+           </command>
+               <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.removeSelectedResultFromResultList"
+               name="Remove selected results from list">
+           </command>
+               <command 
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.displayResultDetails"
+               name="Display Result Details">
+                       <!-- <commandParameter
+                       id="org.argeo.slc.client.commands.resultUuid"
+                       name="Result UUID">
+                       </commandParameter>
+                       <commandParameter
+                       id="org.argeo.slc.client.commands.resultName"
+                       name="Result Name">
+                       </commandParameter> -->
+               </command>
+       
+           <!-- Execution Modules -->
+           <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.refreshExecutionModulesView"
+               name="Refresh Execution Modules View">
+               </command>
+           <!-- Batch -->
+           <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.launchBatch"
+               name="Launch Batch">
+           </command>
+           <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.removeSelectedFromBatch"
+               name="Remove Selected From Batch">
+               </command>
+           <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.clearBatch"
+               name="Clear Batch">
+               </command>
+           <!-- Process List -->
+           <command
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.refreshProcessList"
+               name="Refresh Process List ">
+               </command>
+               <command 
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.displayProcessDetails"
+               name="DisplayProcessDetails">
+                       <commandParameter
+                       id="org.argeo.slc.client.commands.processUuid"
+                       name="Process UUID">
+                       </commandParameter>
+               </command>
+               <command 
+               defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+               id="org.argeo.slc.client.ui.manageBundles"
+               name="Manage Bundles">
+               </command>
+    </extension>
    
-   <extension
-         id="menu:org.eclipse.ui.main.menu"
-         point="org.eclipse.ui.menus">
-      <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu?after=fileMenu">
-         <menu
-               id="slcMenu"
-               label="SLC">
+       <!-- Menu definitions -->
+       <extension
+       id="menu:org.eclipse.ui.main.menu"
+        point="org.eclipse.ui.menus">
+               <menuContribution
+               locationURI="menu:fileMenu">
+            <!-- Should be implemented in later version.
             <command
-                  commandId="org.argeo.slc.client.ui.refreshResultList"
-                  label="Refresh"
+                  commandId="org.argeo.slc.client.ui.manageBundles"
+                  label="Manage Bundles"
                   style="push"
-                  tooltip="Refresh  the result list">
+                  tooltip="Add or remove plugins at run time">
+            </command> -->
+               </menuContribution>
+               <menuContribution
+                       locationURI="toolbar:org.argeo.slc.client.ui.resultListView">
+            <command
+               commandId="org.argeo.slc.client.ui.refreshResultList"
+                icon="icons/refresh.png"
+                label="Refresh result list"
+                tooltip="Refresh the result list">
             </command>
-         </menu>
-      </menuContribution>
-      <menuContribution
-            locationURI="toolbar:org.eclipse.ui.main.toolbar">
-         <toolbar
-               id="org.argeo.slc.client.ui.ResultViewToolbar">
             <command
-                  commandId="org.argeo.slc.client.ui.refreshResultList"
-                  icon="icons/refresh.png"
-                  label="Refresh"
-                  style="toggle"
-                  tooltip="Refresh the result list">
+               commandId="org.argeo.slc.client.ui.removeSelectedResultFromResultList"
+                icon="icons/removeAll.png"
+                label="Remove selected"
+                tooltip="Remove selected items from the result list (Also on server side, cannot be undone)">
             </command>
-            <separator
-                  name="resultListViewGroup">
-            </separator>
-         </toolbar>
-      </menuContribution>
-      <menuContribution
-            locationURI="toolbar:org.argeo.slc.client.ui.processBuilderView">
-         <command
-               commandId="org.argeo.slc.client.ui.launchBatch"
-               label="Launch Batch"
-               tooltip="Launch the batch built in the process builder view.">
-         </command>
-         <command
-               commandId="org.argeo.slc.client.ui.clearBatch"
-               label="Clear Batch"
-               tooltip="Clear the batch built in the process builder view.">
-         </command>
-         <command
-               commandId="org.argeo.slc.client.ui.removeSelectedFromBatch"
-               label="Remove Selected From Batch"
-               tooltip="Remove selected process from process builder view.">
-         </command>
-      </menuContribution>
-   </extension>
-</plugin>
+               </menuContribution>
+               <menuContribution
+               locationURI="toolbar:org.argeo.slc.client.ui.executionModulesView">
+                       <command
+                               commandId="org.argeo.slc.client.ui.refreshExecutionModulesView"
+                               icon="icons/refresh.png"
+                               label="Refresh execution modules"
+                               tooltip="Refresh the execution modules view.">
+                       </command>
+               </menuContribution>   
+               <menuContribution
+                       locationURI="toolbar:org.argeo.slc.client.ui.processBuilderView">
+                       <command
+                               commandId="org.argeo.slc.client.ui.launchBatch"
+                               icon="icons/launch.gif"
+                               label="Launch Batch"
+                               tooltip="Launch the batch built in the process builder view.">
+                       </command>
+                       <command
+                               commandId="org.argeo.slc.client.ui.clearBatch"
+                               label="Clear Batch"
+                               icon="icons/clear_batch.gif"
+                               tooltip="Clear the batch built in the process builder view.">
+                       </command>
+                       <command
+                               commandId="org.argeo.slc.client.ui.removeSelectedFromBatch"
+                               icon="icons/remove_one.gif"
+                               label="Remove Selected From Batch"
+                               tooltip="Remove selected process from process builder view.">
+                       </command>
+               </menuContribution>
+       </extension>
+</plugin>
\ No newline at end of file