org.symbian.tools.wrttools.jseditors/plugin.xml
changeset 20 f627bee5c4fb
parent 18 f887dc7c2ae0
child 21 8b1393d47610
equal deleted inserted replaced
19:870b5b85471f 20:f627bee5c4fb
    58             contributorClass="org.symbian.tools.wrttools.jseditors.editors.JSEditorContributor"
    58             contributorClass="org.symbian.tools.wrttools.jseditors.editors.JSEditorContributor"
    59             class="net.sf.wdte.js.ui.editors.JSEditor"
    59             class="net.sf.wdte.js.ui.editors.JSEditor"
    60             id="net.sf.wdte.js.ui.editors.JSEditor">
    60             id="net.sf.wdte.js.ui.editors.JSEditor">
    61       </editor>
    61       </editor>
    62    </extension>
    62    </extension>
    63    <extension
    63 
    64          point="org.eclipse.ui.popupMenus">
       
    65       <objectContribution
       
    66             objectClass="org.eclipse.core.resources.IFile"
       
    67             id="org.symbian.tools.wrttools.jseditors.contribution1">
       
    68          <menu
       
    69                label="New Submenu"
       
    70                path="additions"
       
    71                id="org.symbian.tools.wrttools.jseditors.menu1">
       
    72             <separator
       
    73                   name="group1">
       
    74             </separator>
       
    75          </menu>
       
    76          <action
       
    77                label="New Action"
       
    78                class="org.symbian.tools.wrttools.jseditors.popup.actions.NewAction"
       
    79                menubarPath="org.symbian.tools.wrttools.jseditors.menu1/group1"
       
    80                enablesFor="1"
       
    81                id="org.symbian.tools.wrttools.jseditors.newAction">
       
    82          </action>
       
    83       </objectContribution>
       
    84       <objectContribution
       
    85             adaptable="true"
       
    86             objectClass="org.eclipse.core.resources.IProject"
       
    87             nameFilter="*"
       
    88             id="org.symbian.tools.wrttools.jseditors.contribution1">
       
    89          <action
       
    90                label="Add/Remove Sample Nature"
       
    91                class="org.symbian.tools.wrttools.jseditors.builder.ToggleNatureAction"
       
    92                menubarPath="additions"
       
    93                enablesFor="+"
       
    94                id="org.symbian.tools.wrttools.jseditors.addRemoveNatureAction">
       
    95          </action>
       
    96       </objectContribution>
       
    97    </extension>
       
    98 
       
    99    <extension
       
   100          point="org.eclipse.ui.navigator.viewer">
       
   101       <viewerActionBinding
       
   102             viewerId="com.example.test">
       
   103          <includes>
       
   104             <actionExtension
       
   105                   pattern="org.eclipse.ui.navigator.resources.*">
       
   106             </actionExtension>
       
   107          </includes>
       
   108       </viewerActionBinding>
       
   109       <viewerContentBinding
       
   110             viewerId="com.example.test">
       
   111          <includes>
       
   112             <contentExtension
       
   113                   pattern="org.eclipse.ui.navigator.resourceContent">
       
   114             </contentExtension>
       
   115             <contentExtension
       
   116                   pattern="org.eclipse.ui.navigator.resources.filters.*">
       
   117             </contentExtension>
       
   118             <contentExtension
       
   119                   pattern="org.eclipse.ui.navigator.resources.linkHelper">
       
   120             </contentExtension>
       
   121             <contentExtension
       
   122                   pattern="org.eclipse.ui.navigator.resources.workingSets">
       
   123             </contentExtension>
       
   124          </includes>
       
   125       </viewerContentBinding>
       
   126    </extension>
       
   127 
       
   128    <extension
       
   129          point="org.eclipse.help.contexts">
       
   130       <contexts
       
   131             file="contexts.xml">
       
   132       </contexts>
       
   133    </extension>
       
   134    <extension
    64    <extension
   135          point="org.eclipse.ui.newWizards">
    65          point="org.eclipse.ui.newWizards">
   136       <category
    66       <category
   137             id="org.symbian.tools.wrttools.jseditors.category"
    67             id="org.symbian.tools.wrttools.jseditors.category"
   138             name="WRT Files">
    68             name="WRT Files">