plugins/org.symbian.tools.wrttools.product/plugin.xml
changeset 487 356e57403778
parent 485 df4f55e8569e
equal deleted inserted replaced
486:f0031abe2cd6 487:356e57403778
   248       <perspectiveExtension
   248       <perspectiveExtension
   249             targetID="org.symbian.tools.wrttools.mainPerspective">
   249             targetID="org.symbian.tools.wrttools.mainPerspective">
   250          <showInPart
   250          <showInPart
   251                id="org.eclipse.ui.navigator.ProjectExplorer">
   251                id="org.eclipse.ui.navigator.ProjectExplorer">
   252          </showInPart>
   252          </showInPart>
       
   253          <actionSet
       
   254                id="org.symbian.tools.tmwtools.debug.core.mainActions">
       
   255          </actionSet>
   253       </perspectiveExtension>
   256       </perspectiveExtension>
   254       <perspectiveExtension
   257       <perspectiveExtension
   255             targetID="org.eclipse.debug.ui.DebugPerspective">
   258             targetID="org.eclipse.debug.ui.DebugPerspective">
   256          <showInPart
   259          <showInPart
   257                id="org.eclipse.ui.navigator.ProjectExplorer">
   260                id="org.eclipse.ui.navigator.ProjectExplorer">
   258          </showInPart>
   261          </showInPart>
   259          <perspectiveShortcut
   262          <perspectiveShortcut
   260                id="org.symbian.tools.wrttools.mainPerspective">
   263                id="org.symbian.tools.wrttools.mainPerspective">
   261          </perspectiveShortcut>
   264          </perspectiveShortcut>
   262          <actionSet
   265          <actionSet
       
   266                id="org.symbian.tools.tmwtools.debug.core.mainActions">
       
   267          </actionSet>
       
   268          <actionSet
   263                id="org.eclipse.debug.ui.breakpointActionSet">
   269                id="org.eclipse.debug.ui.breakpointActionSet">
   264          </actionSet>
   270          </actionSet>
   265          <actionSet
   271          <actionSet
   266                id="org.eclipse.debug.ui.debugActionSet">
   272                id="org.eclipse.debug.ui.debugActionSet">
   267          </actionSet>
   273          </actionSet>
   268          <actionSet
   274          <actionSet
   269                id="org.symbian.tools.tmwtools.debug.core.mainActions">
   275                id="org.symbian.tools.tmwtools.debug.core.mainActions">
   270          </actionSet>
   276          </actionSet>
   271       </perspectiveExtension>
   277       </perspectiveExtension>
   272 
   278    </extension>
       
   279     <extension
       
   280           point="org.eclipse.ui.actionSets">
       
   281        <actionSet
       
   282              description="Actions for Mobile Web debugging"
       
   283              id="org.symbian.tools.tmwtools.debug.core.mainActions"
       
   284              label="Mobile Web Debug">
       
   285           <action
       
   286                 class="org.symbian.tools.wrttools.product.actions.DebugAction"
       
   287                 helpContextId="debug_last_action_context"
       
   288                 icon="icons/debug_exc.gif"
       
   289                 id="org.symbian.tools.tmwtools.debug.core.debug"
       
   290                 label="Debug"
       
   291                 menubarPath="org.eclipse.ui.run/relaunchGroup"
       
   292                 style="push"
       
   293                 toolbarPath="debug">
       
   294           </action>
       
   295        </actionSet>
       
   296     </extension>
       
   297    <extension
       
   298          point="org.eclipse.ui.popupMenus">
       
   299       <objectContribution
       
   300             id="org.symbian.tools.tmwtools.debug.core.context"
       
   301             objectClass="java.lang.Object">
       
   302          <enablement>
       
   303             <or>
       
   304                <and>
       
   305                   <not>
       
   306                      <with
       
   307                            variable="org.eclipse.core.runtime.Platform">
       
   308                         <test
       
   309                               args="org.eclipse.debug.core"
       
   310                               property="org.eclipse.core.runtime.bundleState"
       
   311                               value="ACTIVE">
       
   312                         </test>
       
   313                      </with>
       
   314                   </not>
       
   315                   <adapt
       
   316                         type="org.eclipse.core.resources.IResource">
       
   317                   </adapt>
       
   318                </and>
       
   319                <and>
       
   320                   <with
       
   321                         variable="org.eclipse.core.runtime.Platform">
       
   322                      <test
       
   323                            args="org.eclipse.debug.core"
       
   324                            property="org.eclipse.core.runtime.bundleState"
       
   325                            value="ACTIVE">
       
   326                      </test>
       
   327                   </with>
       
   328                   <test
       
   329                         property="org.eclipse.debug.core.launchable"
       
   330                         value="debug">
       
   331                   </test>
       
   332                </and>
       
   333             </or>
       
   334          </enablement>
       
   335          <action
       
   336                class="org.symbian.tools.wrttools.product.actions.DebugAction"
       
   337                enablesFor="+"
       
   338                icon="icons/debug_exc.gif"
       
   339                id="org.eclipse.debug.ui.contextualLaunch.debug.submenu"
       
   340                label="Debug"
       
   341                menubarPath="additions"
       
   342                style="push">
       
   343          </action>
       
   344       </objectContribution>
   273    </extension>
   345    </extension>
   274 </plugin>
   346 </plugin>