]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - demo/plugins/org.argeo.demo.i18n/plugin.xml
Introduce check-osgi profile
[lgpl/argeo-commons.git] / demo / plugins / org.argeo.demo.i18n / plugin.xml
index 4ba2c49a6bfd3228925f5b3d06a27fe839d3a520..47d343e1bf10e1901a08b19f53e5b2844044503b 100644 (file)
@@ -8,7 +8,7 @@
             class="org.argeo.demo.i18n.I18nDemoPerspective"
             icon="icons/i18n.gif"
             id="org.argeo.demo.i18n.perspective"
-            name="Internationalization simple demo">
+            name="%I18nDemoPerspective_Name">
       </perspective>
    </extension>
    <!-- Views --> 
@@ -18,7 +18,7 @@
           class="org.argeo.eclipse.spring.SpringExtensionFactory"
           icon="icons/browser.gif"
           id="org.argeo.demo.i18n.simpleTreeView"
-          name="Internationalized tree view">
+          name="%SimpleTreeView_Name">
           </view>
    </extension>
    <!-- Editors --> 
@@ -27,7 +27,7 @@
             <editor
                  class="org.argeo.eclipse.spring.SpringExtensionFactory"
               id="org.argeo.demo.i18n.simpleMultitabEditor"
-              name="Simple multitab editor"
+              name="%SimpleMultitabEditor_Name"
               icon="icons/i18n.gif"
               default="false">
         </editor>
        <!-- Commands --> 
        <extension
          point="org.eclipse.ui.commands">
-       <command
-                       defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-                       id="org.argeo.jcr.ui.explorer.openGenericNodeEditor"
-                       name="Open generic node Editor">
-                       <commandParameter
-                               id="org.argeo.jcr.ui.explorer.nodePath"
-                               name="Node path">
-                       </commandParameter>
-               </command>    
+               <command
+                       defaultHandler="org.argeo.demo.i18n.commands.OpenDialog"
+                       id="org.argeo.demo.i18n.openDialog"
+                       name="This name should not be displayed - check plugin.xml">
+               </command>   
     </extension>
 
     <!-- Menus --> 
        <extension point="org.eclipse.ui.menus">
                <menuContribution
                        locationURI="popup:org.argeo.demo.i18n.simpleTreeView">
+                       <command
+                               commandId="org.argeo.demo.i18n.openDialog"
+                               style="push"
+                               label="%OpenDialog_Label">
+                       </command>
                </menuContribution>
        </extension>
        
          </with>
       </definition>
    </extension>
-
+       <!-- Preferences --> 
+       <extension
+       point="org.eclipse.ui.preferencePages">
+               <page 
+                       class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                       id="org.argeo.demo.i18n.localeSettingsPage"
+                       name="%LocaleSettingsPage_Title">
+               </page>
+       </extension>
        <!-- Activities -->     
        <extension
        point="org.eclipse.ui.activities">
@@ -82,7 +91,7 @@
                                </with>
                        </enabledWhen>
                </activity>
-        <!-- TODO: find a way to exclude evrything -->
+        <!-- TODO: find a way to exclude everything -->
         <activityPatternBinding
               activityId="org.argeo.jcr.ui.explorer.adminActivity"
               isEqualityPattern="true"