org.symbian.tools.wrttools/plugin.xml
changeset 455 5da55957c779
parent 454 38d6944cff88
child 458 5ff93668b08c
equal deleted inserted replaced
454:38d6944cff88 455:5da55957c779
   313           id="org.symbian.tools.wrttools.commands.deploy"
   313           id="org.symbian.tools.wrttools.commands.deploy"
   314           name="Deploy Application">
   314           name="Deploy Application">
   315     </command>
   315     </command>
   316     <command
   316     <command
   317           categoryId="org.symbian.tools.wrttools.commands.maincategory"
   317           categoryId="org.symbian.tools.wrttools.commands.maincategory"
   318           description="Packages an application for distribution or deployment"
       
   319           id="org.symbian.tools.wrttools.commands.package"
       
   320           name="Package Application">
       
   321     </command>
       
   322     <command
       
   323           categoryId="org.symbian.tools.wrttools.commands.maincategory"
       
   324           defaultHandler="org.symbian.tools.wrttools.handlers.AddJSLibrary"
   318           defaultHandler="org.symbian.tools.wrttools.handlers.AddJSLibrary"
   325           description="Adds JavaScript libraries to Mobile Web projects"
   319           description="Adds JavaScript libraries to Mobile Web projects"
   326           id="org.symbian.tools.wrttools.addlibrary"
   320           id="org.symbian.tools.wrttools.addlibrary"
   327           name="Add JavaScript Libraries...">
   321           name="Add JavaScript Libraries...">
   328     </command>
   322     </command>
   335              id="org.symbian.tools.wrttools">
   329              id="org.symbian.tools.wrttools">
   336           <command
   330           <command
   337                 commandId="org.symbian.tools.wrttools.commands.deploy"
   331                 commandId="org.symbian.tools.wrttools.commands.deploy"
   338                 icon="icons/deploy_widget.gif"
   332                 icon="icons/deploy_widget.gif"
   339                 id="org.symbian.tools.wrttools.toolbars.deploy">
   333                 id="org.symbian.tools.wrttools.toolbars.deploy">
   340           </command>
       
   341           <command
       
   342                 commandId="org.symbian.tools.wrttools.commands.package"
       
   343                 icon="icons/package_widget.gif"
       
   344                 id="org.symbian.tools.wrttools.toolbars.package">
       
   345           </command>
   334           </command>
   346        </toolbar>
   335        </toolbar>
   347     </menuContribution>
   336     </menuContribution>
   348     <menuContribution
   337     <menuContribution
   349           locationURI="menu:project?after=additions">
   338           locationURI="menu:project?after=additions">
   363        <command
   352        <command
   364              commandId="org.symbian.tools.wrttools.commands.deploy"
   353              commandId="org.symbian.tools.wrttools.commands.deploy"
   365              icon="icons/deploy_widget.gif"
   354              icon="icons/deploy_widget.gif"
   366              id="org.symbian.tools.wrttools.toolbars.deploy">
   355              id="org.symbian.tools.wrttools.toolbars.deploy">
   367        </command>
   356        </command>
   368        <command
       
   369              commandId="org.symbian.tools.wrttools.commands.package"
       
   370              icon="icons/package_widget.gif"
       
   371              id="org.symbian.tools.wrttools.toolbars.package">
       
   372        </command>
       
   373        <separator
   357        <separator
   374              name="org.symbian.tools.wrttools.endwrt"
   358              name="org.symbian.tools.wrttools.endwrt"
   375              visible="true">
   359              visible="true">
   376        </separator>
   360        </separator>
   377     </menuContribution>
   361     </menuContribution>
   383        </separator>
   367        </separator>
   384        <command
   368        <command
   385              commandId="org.symbian.tools.wrttools.commands.deploy"
   369              commandId="org.symbian.tools.wrttools.commands.deploy"
   386              icon="icons/deploy_widget.gif"
   370              icon="icons/deploy_widget.gif"
   387              id="org.symbian.tools.wrttools.toolbars.deploy">
   371              id="org.symbian.tools.wrttools.toolbars.deploy">
   388           <visibleWhen>
       
   389              <and>
       
   390                 <iterate
       
   391                       ifEmpty="false"
       
   392                       operator="and">
       
   393                    <adapt
       
   394                          type="org.eclipse.core.resources.IProject">
       
   395                    </adapt>
       
   396                 </iterate>
       
   397                 <count
       
   398                       value="1">
       
   399                 </count>
       
   400              </and>
       
   401           </visibleWhen>
       
   402        </command>
       
   403        <command
       
   404              commandId="org.symbian.tools.wrttools.commands.package"
       
   405              icon="icons/package_widget.gif"
       
   406              id="org.symbian.tools.wrttools.toolbars.package">
       
   407           <visibleWhen>
   372           <visibleWhen>
   408              <and>
   373              <and>
   409                 <iterate
   374                 <iterate
   410                       ifEmpty="false"
   375                       ifEmpty="false"
   411                       operator="and">
   376                       operator="and">
   453              visible="true">
   418              visible="true">
   454        </separator>
   419        </separator>
   455     </menuContribution>
   420     </menuContribution>
   456  </extension>
   421  </extension>
   457  <extension
   422  <extension
   458        point="org.eclipse.ui.handlers">
       
   459     <handler
       
   460           class="org.symbian.tools.wrttools.handlers.DeployHandler"
       
   461           commandId="org.symbian.tools.wrttools.commands.deploy">
       
   462        <enabledWhen>
       
   463           <reference
       
   464                 definitionId="org.symbian.tools.wrttools.symbianproject">
       
   465           </reference>
       
   466        </enabledWhen>
       
   467     </handler>
       
   468     <handler
       
   469           class="org.symbian.tools.wrttools.handlers.PackageApplicationHandler"
       
   470           commandId="org.symbian.tools.wrttools.commands.package">
       
   471        <enabledWhen>
       
   472           <reference
       
   473                 definitionId="org.symbian.tools.wrttools.symbianproject">
       
   474           </reference>
       
   475        </enabledWhen>
       
   476     </handler>
       
   477  </extension>
       
   478  <extension
       
   479        point="org.eclipse.core.expressions.definitions">
   423        point="org.eclipse.core.expressions.definitions">
   480     <definition
   424     <definition
   481           id="org.symbian.tools.wrttools.symbianproject">
   425           id="org.symbian.tools.wrttools.symbianproject">
   482           <or>
   426           <or>
   483              <with
   427              <with
   851 }
   795 }
   852           </content>
   796           </content>
   853        </item>
   797        </item>
   854     </category>
   798     </category>
   855  </extension>
   799  </extension>
       
   800  <extension
       
   801        point="org.symbian.tools.mtw.core.projectProvider">
       
   802     <projectProvider
       
   803           class="org.symbian.tools.wrttools.core.project.WRTIDEProjectProvider">
       
   804        <enablement>
       
   805           <adapt
       
   806                 type="org.eclipse.core.resources.IProject">
       
   807              <test
       
   808                    property="org.eclipse.core.resources.projectNature"
       
   809                    value="org.symbian.tools.wrttools.WidgetProjectNature">
       
   810              </test>
       
   811           </adapt>
       
   812        </enablement>
       
   813     </projectProvider>
       
   814  </extension>
       
   815    <extension
       
   816         point="org.symbian.tools.mtw.core.runtimes">
       
   817      <runtime
       
   818            id="org.symbian.wrt11"
       
   819            name="Symbian WRT 1.1">
       
   820      </runtime>
       
   821   </extension>
       
   822    <extension
       
   823          point="org.symbian.tools.mtw.core.packagers">
       
   824       <packager
       
   825             class="org.symbian.tools.wrttools.core.packager.WrtPackager"
       
   826             targetRuntime="org.symbian.wrt11">
       
   827       </packager>
       
   828    </extension>
       
   829  
   856 </plugin>
   830 </plugin>