]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.akb.ui/plugin.xml
Make distribution browser more robust
[gpl/argeo-slc.git] / plugins / org.argeo.slc.akb.ui / plugin.xml
index f762d1b3fa84088f3aecfcff061e77571ad9ca71..bc64576e2fa9c061578055e8037cc90448202a82 100644 (file)
                        class="org.argeo.eclipse.spring.SpringExtensionFactory"
                        icon="icons/treeView.png"
                        id="org.argeo.slc.akb.ui.akbTemplatesTreeView"
-                       name="Akb Templates"
+                       name="AKB Templates"
+                       restorable="true">
+               </view>
+               <view
+                       class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                       icon="icons/treeView.png"
+                       id="org.argeo.slc.akb.ui.environmentsTreeView"
+                       name="AKB Environments"
                        restorable="true">
                </view>
        </extension>
                        id="param.nodeType"
                        name="Corresponding JCR node type">
                        </commandParameter>
+               <commandParameter
+                       id="param.nodeSubtype"
+                       name="A subtype if needed">
+                       </commandParameter>
                <commandParameter
                        id="param.nodeJcrId"
                        name="The Node JCR ID if needed">
                        </commandParameter>
+               <commandParameter
+                       id="param.currEnvJcrId"
+                       name="The current environment JCR ID, might be an active or a template env">
+                       </commandParameter>
+               <commandParameter
+                       id="param.parentNodeJcrId"
+                       name="The Parent Node JCR ID if needed">
+                       </commandParameter>
+               </command>
+               <command
+                       defaultHandler="org.argeo.eclipse.spring.SpringExtensionFactory"
+                       id="org.argeo.slc.akb.ui.createAkbNode"
+                       name="Create a new Akb Node">
+               <commandParameter
+                       id="param.nodeType"
+                       name="Corresponding JCR node type">
+                       </commandParameter>
                <commandParameter
                        id="param.parentNodeJcrId"
                        name="The Parent Node JCR ID if needed">
                        name="The Node JCR ID if needed">
                        </commandParameter>
                </command>
+               <command
+                       defaultHandler="org.argeo.slc.akb.ui.commands.ForceRefresh"
+                       id="org.argeo.slc.akb.ui.forceRefresh"
+                       name="Force refresh of the current active part if such an action is possible">
+               </command>
+               <command
+                       defaultHandler="org.argeo.slc.akb.ui.commands.OpenUrl"
+                       id="org.argeo.slc.akb.ui.openUrl"
+                       name="Open an URL in the end user browser">
+                       <commandParameter
+                       id="param.urlType"
+                       name="The type of the url">
+                       </commandParameter>
+               </command>
        </extension>            
        <!-- Menus -->
        <extension
                point="org.eclipse.ui.menus">
+               <menuContribution
+               locationURI="toolbar:org.argeo.slc.akb.ui.akbTemplatesTreeView">
+            <command
+               commandId="org.argeo.slc.akb.ui.forceRefresh"
+                icon="icons/refresh.png"
+                       label="Refresh"
+                tooltip="Refresh the whole browser">
+            </command>
+        </menuContribution>
+               <menuContribution
+               locationURI="toolbar:org.argeo.slc.akb.ui.environmentsTreeView">
+            <command
+               commandId="org.argeo.slc.akb.ui.forceRefresh"
+                icon="icons/refresh.png"
+                   label="Refresh"
+                tooltip="Refresh the whole browser">
+            </command>
+        </menuContribution>
+      
+       <menuContribution
+                       locationURI="menu:org.eclipse.ui.main.menu">
+                       <menu
+                               id="help"
+                               label="Help">
+                               <command
+                                       commandId="org.argeo.slc.akb.ui.openUrl"
+                                       label="Report a bug..."
+                                       icon="icons/refresh.png"
+                       style="push"
+                       tooltip="Report a bug or an enhancement to Argeos tracker system">
+                                       <parameter 
+                                               name="param.urlType" 
+                                               value="tracker" />
+                               </command>
+                               
+       <!--                    <command
+                                       commandId="org.argeo.slc.akb.ui.openUrl"
+                                       label="AKB's wiki
+                                       style="push">
+                                       <parameter name="param.urlType" value="wiki" />
+                               </command>-->
+                               <command
+                                       commandId="org.argeo.slc.akb.ui.openUrl"
+                                       label="AKB wiki"
+                                       style="push">
+                                       <parameter 
+                                               name="param.urlType" 
+                                               value="wiki" />
+                               </command> 
+                       </menu>
+      </menuContribution>      
        </extension>
 </plugin>