org.symbian.tools.mtw.ui/plugin.xml
changeset 454 38d6944cff88
child 455 5da55957c779
equal deleted inserted replaced
452:68002774437e 454:38d6944cff88
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <?eclipse version="3.4"?>
       
     3 <plugin>
       
     4 	<!-- Navigator Extensions -->
       
     5 	<extension point="org.eclipse.ui.navigator.viewer">
       
     6 	  <viewerActionBinding
       
     7 	        viewerId="org.eclipse.ui.navigator.ProjectExplorer">
       
     8 	     <includes>
       
     9 	        <actionExtension
       
    10 	              pattern="org.symbian.mtw.ui.navigator.MoveRename">
       
    11 	        </actionExtension>
       
    12 	     </includes>
       
    13 	  </viewerActionBinding>
       
    14 	</extension>
       
    15 	 <extension
       
    16        point="org.eclipse.ui.navigator.navigatorContent">
       
    17        <commonWizard
       
    18              associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent"
       
    19              type="import"
       
    20              wizardId="org.symbian.tools.wrttools.importwgz">
       
    21           <enablement>
       
    22              <or>
       
    23                 <adapt
       
    24                       type="org.eclipse.core.resources.IResource">
       
    25                 </adapt>
       
    26                 <adapt
       
    27                       type="java.util.Collection">
       
    28                 </adapt>
       
    29              </or>
       
    30           </enablement>
       
    31        </commonWizard>
       
    32        <commonWizard
       
    33              associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent"
       
    34              menuGroupId="group.new.z"
       
    35              type="new"
       
    36              wizardId="org.symbian.tools.wrttools.core.wrtwidgetwizard">
       
    37           <enablement>
       
    38              <or>
       
    39                 <adapt
       
    40                       type="org.eclipse.core.resources.IResource">
       
    41                 </adapt>
       
    42                 <adapt
       
    43                       type="java.util.Collection">
       
    44                 </adapt>
       
    45              </or>
       
    46           </enablement>
       
    47        </commonWizard>
       
    48        <commonWizard
       
    49              associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent"
       
    50              menuGroupId="org.eclipse.wst.jsdt.ui.java"
       
    51              type="new"
       
    52              wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard">
       
    53           <enablement>
       
    54              <adapt
       
    55                    type="org.eclipse.core.resources.IResource">
       
    56              </adapt>
       
    57           </enablement>
       
    58        </commonWizard>
       
    59        <commonWizard
       
    60              associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent"
       
    61              menuGroupId="org.eclipse.wst.jsdt.ui.java"
       
    62              type="new"
       
    63              wizardId="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard">
       
    64           <enablement>
       
    65              <adapt
       
    66                    type="org.eclipse.core.resources.IResource">
       
    67              </adapt>
       
    68           </enablement>
       
    69        </commonWizard>
       
    70        <commonWizard
       
    71              associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent"
       
    72              type="import"
       
    73              wizardId="org.symbian.tools.wrttools.import.projectImport">
       
    74           <enablement>
       
    75              <or>
       
    76                 <adapt
       
    77                       type="org.eclipse.core.resources.IResource">
       
    78                 </adapt>
       
    79                 <adapt
       
    80                       type="java.util.Collection">
       
    81                 </adapt>
       
    82              </or>
       
    83           </enablement>
       
    84        </commonWizard>
       
    85 		  <commonWizard
       
    86           associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent"
       
    87           menuGroupId="org.eclipse.wst.jsdt.ui.java"
       
    88           type="new"
       
    89           wizardId="org.eclipse.wst.jsdt.ui.NewJSWizard">
       
    90 		     <enablement>
       
    91 			     <or>
       
    92      <adapt
       
    93            type="org.eclipse.core.resources.IFolder">
       
    94         <test
       
    95               property="org.eclipse.core.resources.projectNature"
       
    96               value="org.eclipse.wst.jsdt.core.jsNature">
       
    97         </test>
       
    98      </adapt>
       
    99 				</or>
       
   100 		     </enablement>
       
   101 		  </commonWizard>
       
   102     <actionProvider
       
   103           class="org.symbian.tools.mtw.ui.navigator.RenameMoveActionProvider"
       
   104           id="org.symbian.mtw.ui.navigator.MoveRename"
       
   105           overrides="org.eclipse.wst.jsdt.ui.navigator.actions.RefactorActions"
       
   106           priority="highest">
       
   107           <enablement>
       
   108              <and>
       
   109                 <adapt
       
   110                   type="org.eclipse.core.resources.IProject">
       
   111                 </adapt>
       
   112              </and>
       
   113           </enablement>
       
   114     </actionProvider>
       
   115  </extension>
       
   116   <extension
       
   117         point="org.eclipse.ui.views">
       
   118      <category
       
   119            id="org.symbian.tools.mtw"
       
   120            name="Tools for Mobile Web">
       
   121      </category>
       
   122   </extension>
       
   123 
       
   124 </plugin>