org.symbian.tools.wrttools/plugin.xml
changeset 454 38d6944cff88
parent 448 4bb763ad2b12
child 455 5da55957c779
equal deleted inserted replaced
452:68002774437e 454:38d6944cff88
   250 			<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
   250 			<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
   251 			</newWizardShortcut>
   251 			</newWizardShortcut>
   252 		</perspectiveExtension>
   252 		</perspectiveExtension>
   253 	</extension>
   253 	</extension>
   254 	
   254 	
   255 <!-- Navigator Extensions -->
       
   256 	<extension point="org.eclipse.ui.views">
       
   257 		<view allowMultiple="false" category="org.symbian.tools.wrttools.views"
       
   258 			class="org.eclipse.ui.navigator.CommonNavigator" icon="icons/main16.gif"
       
   259 			id="org.symbian.tools.wrttools.wrtnavigator" name="Projects"
       
   260 			restorable="true">
       
   261 		</view>
       
   262 		<category id="org.symbian.tools.wrttools.views" name="Tools for Mobile Web">
       
   263 		</category>
       
   264 	</extension>
       
   265 	<extension point="org.eclipse.ui.navigator.viewer">
       
   266 		<viewer viewerId="org.symbian.tools.wrttools.wrtnavigator">
       
   267 			<popupMenu allowsPlatformContributions="true"
       
   268 				id="org.eclipse.ui.navigator.ProjectExplorer#PopupMenu">
       
   269 				<insertionPoint name="group.new" />
       
   270 				<insertionPoint name="group.open" separator="true" />
       
   271 				<insertionPoint name="group.openWith" />
       
   272 				<insertionPoint name="group.edit" separator="true" />
       
   273 				<insertionPoint name="group.reorganize" separator="true" />
       
   274 				<insertionPoint name="group.port" separator="true" />
       
   275 				<insertionPoint name="group.build" separator="true" />
       
   276 				<insertionPoint name="group.generate" separator="true" />
       
   277 				<insertionPoint name="group.search" separator="true" />
       
   278 				<insertionPoint name="additions" separator="true" />
       
   279 				<insertionPoint name="group.properties" separator="true" />
       
   280 			</popupMenu>
       
   281 		</viewer>
       
   282 		<viewerContentBinding viewerId="org.symbian.tools.wrttools.wrtnavigator">
       
   283 			<includes>
       
   284 				<contentExtension
       
   285           isRoot="true"
       
   286           pattern="org.symbian.tools.wrttools.navigatorcontent"/>
       
   287 				<contentExtension pattern="org.eclipse.ui.navigator.resources.filters.*" />
       
   288 				<contentExtension
       
   289           isRoot="true"
       
   290           pattern="org.symbian.tools.wrttools.wrtLinkHelper"/>
       
   291 			</includes>
       
   292 		</viewerContentBinding>
       
   293 		<viewerActionBinding viewerId="org.symbian.tools.wrttools.wrtnavigator">
       
   294 			<includes>
       
   295 				<actionExtension pattern="org.eclipse.ui.navigator.resources.PortingActions" />
       
   296 				<actionExtension pattern="org.eclipse.ui.navigator.resources.GotoActions" />
       
   297 				<actionExtension pattern="org.eclipse.ui.navigator.resources.GoIntoActions" />
       
   298 				<actionExtension pattern="org.eclipse.ui.navigator.resources.NewActions" />
       
   299 				<actionExtension pattern="org.eclipse.ui.navigator.resources.PropertiesActionProvider" />
       
   300 				<actionExtension pattern="org.eclipse.ui.navigator.resources.WorkManagementActionProvider" />
       
   301 				<actionExtension pattern="org.eclipse.ui.navigator.resources.ResourceMgmtActions" />
       
   302 				<actionExtension pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider" />
       
   303 				<actionExtension pattern="org.eclipse.ui.navigator.resources.WorkingSetActions" />
       
   304 			</includes>
       
   305 		</viewerActionBinding>
       
   306 		<dragAssistant
       
   307 			class="org.eclipse.ui.navigator.resources.ResourceDragAdapterAssistant"
       
   308 			viewerId="org.symbian.tools.wrttools.wrtnavigator" />
       
   309 	</extension>
       
   310 	 <extension
       
   311        point="org.eclipse.ui.navigator.navigatorContent">
       
   312     <navigatorContent
       
   313           activeByDefault="true"
       
   314           contentProvider="org.symbian.tools.wrttools.navigator.WRTNavigatorContentProvider"
       
   315           icon="icons/main16.gif"
       
   316           id="org.symbian.tools.wrttools.navigatorcontent"
       
   317           labelProvider="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorLabelProvider"
       
   318           name="Mobile Web"
       
   319           priority="high"
       
   320           providesSaveables="false">
       
   321        <triggerPoints>
       
   322           <or>
       
   323              <instanceof
       
   324                    value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
       
   325              </instanceof>
       
   326              <instanceof
       
   327                    value="org.eclipse.wst.jsdt.core.IJarEntryResource">
       
   328              </instanceof>
       
   329              <instanceof
       
   330                    value="org.eclipse.wst.jsdt.internal.ui.packageview.PackageFragmentRootContainer">
       
   331              </instanceof>
       
   332              <instanceof
       
   333                    value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot">
       
   334              </instanceof>
       
   335              <instanceof
       
   336                    value="org.eclipse.core.resources.IResource">
       
   337              </instanceof>
       
   338              <adapt
       
   339                    type="org.eclipse.core.resources.IProject">
       
   340                 <test
       
   341                       property="org.eclipse.core.resources.projectNature"
       
   342                       value="org.symbian.tools.wrttools.WidgetProjectNature">
       
   343                 </test>
       
   344              </adapt>
       
   345           </or>
       
   346        </triggerPoints>
       
   347        <possibleChildren>
       
   348           <or>
       
   349              <instanceof
       
   350                    value="org.eclipse.core.resources.IResource">
       
   351              </instanceof>
       
   352              <instanceof
       
   353                    value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
       
   354              </instanceof>
       
   355              <instanceof
       
   356                    value="org.eclipse.wst.jsdt.core.IJarEntryResource">
       
   357              </instanceof>
       
   358              <instanceof
       
   359                    value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot">
       
   360              </instanceof>
       
   361           </or>
       
   362        </possibleChildren>
       
   363        <actionProvider
       
   364              class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorActionProvider"
       
   365              id="org.eclipse.wst.jsdt.ui.navigator.actions.StandardActions">
       
   366        </actionProvider>
       
   367        <actionProvider
       
   368              class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorRefactorActionProvider"
       
   369              id="org.eclipse.wst.jsdt.ui.navigator.actions.RefactorActions"
       
   370              overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
       
   371           <enablement>
       
   372              <or>
       
   373                 <adapt
       
   374                       type="java.util.Collection">
       
   375                    <count
       
   376                          value="0">
       
   377                    </count>
       
   378                 </adapt>
       
   379                 <and>
       
   380                    <or>
       
   381                       <instanceof
       
   382                             value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
       
   383                       </instanceof>
       
   384                       <instanceof
       
   385                             value="org.eclipse.wst.jsdt.core.IJarEntryResource">
       
   386                       </instanceof>
       
   387                    </or>
       
   388                    <not>
       
   389                       <instanceof
       
   390                             value="org.eclipse.wst.jsdt.core.ITypeRoot">
       
   391                       </instanceof>
       
   392                    </not>
       
   393                 </and>
       
   394              </or>
       
   395           </enablement>
       
   396        </actionProvider>
       
   397        <actionProvider
       
   398              class="org.symbian.tools.wrttools.navigator.RenameMoveActionProvider"
       
   399              id="org.symbian.wrttools.navigator.MoveRename"
       
   400              overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
       
   401           <enablement>
       
   402              <and>
       
   403                 <adapt
       
   404                       type="org.eclipse.core.resources.IResource">
       
   405                 </adapt>
       
   406                 <not>
       
   407                    <instanceof
       
   408                          value="org.eclipse.wst.jsdt.core.IType">
       
   409                    </instanceof>
       
   410                 </not>
       
   411              </and>
       
   412           </enablement>
       
   413        </actionProvider>
       
   414        <actionProvider
       
   415              class="org.eclipse.wst.jsdt.internal.ui.navigator.PackageExplorerOpenActionProvider"
       
   416              id="org.eclipse.wst.jsdt.ui.navigator.actions.OpenActions"
       
   417              overrides="org.eclipse.ui.navigator.resources.OpenActions">
       
   418        </actionProvider>
       
   419        <override
       
   420              policy="InvokeAlwaysRegardlessOfSuppressedExt"
       
   421              suppressedExtensionId="org.eclipse.ui.navigator.resourceContent">
       
   422        </override>
       
   423        <commonWizard
       
   424              type="import"
       
   425              wizardId="org.symbian.tools.wrttools.importwgz">
       
   426           <enablement>
       
   427              <or>
       
   428                 <adapt
       
   429                       type="org.eclipse.core.resources.IResource">
       
   430                 </adapt>
       
   431                 <adapt
       
   432                       type="java.util.Collection">
       
   433                 </adapt>
       
   434              </or>
       
   435           </enablement>
       
   436        </commonWizard>
       
   437        <commonWizard
       
   438              menuGroupId="group.new.z"
       
   439              type="new"
       
   440              wizardId="org.symbian.tools.wrttools.core.wrtwidgetwizard">
       
   441           <enablement>
       
   442              <or>
       
   443                 <adapt
       
   444                       type="org.eclipse.core.resources.IResource">
       
   445                 </adapt>
       
   446                 <adapt
       
   447                       type="java.util.Collection">
       
   448                 </adapt>
       
   449              </or>
       
   450           </enablement>
       
   451        </commonWizard>
       
   452        <commonWizard
       
   453              type="new"
       
   454              wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard">
       
   455           <enablement>
       
   456              <adapt
       
   457                    type="org.eclipse.core.resources.IResource">
       
   458              </adapt>
       
   459           </enablement>
       
   460        </commonWizard>
       
   461        <commonWizard
       
   462              menuGroupId="group.new.generic"
       
   463              type="new"
       
   464              wizardId="org.eclipse.ui.wizards.new.folder">
       
   465           <enablement>
       
   466              <adapt
       
   467                    type="org.eclipse.core.resources.IResource">
       
   468              </adapt>
       
   469           </enablement>
       
   470        </commonWizard>
       
   471        <commonWizard
       
   472              menuGroupId="group.new.generic"
       
   473              type="new"
       
   474              wizardId="org.eclipse.ui.wizards.new.file">
       
   475           <enablement>
       
   476              <adapt
       
   477                    type="org.eclipse.core.resources.IResource">
       
   478              </adapt>
       
   479           </enablement>
       
   480        </commonWizard>
       
   481        <commonWizard
       
   482              type="new"
       
   483              wizardId="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard">
       
   484           <enablement>
       
   485              <adapt
       
   486                    type="org.eclipse.core.resources.IResource">
       
   487              </adapt>
       
   488           </enablement>
       
   489        </commonWizard>
       
   490        <commonWizard
       
   491              type="new"
       
   492              wizardId="org.eclipse.wst.jsdt.ui.NewJSWizard">
       
   493           <enablement>
       
   494              <adapt
       
   495                    type="org.eclipse.core.resources.IResource">
       
   496              </adapt>
       
   497           </enablement>
       
   498        </commonWizard>
       
   499        <commonWizard
       
   500              type="import"
       
   501              wizardId="org.symbian.tools.wrttools.import.projectImport">
       
   502           <enablement>
       
   503              <or>
       
   504                 <adapt
       
   505                       type="org.eclipse.core.resources.IResource">
       
   506                 </adapt>
       
   507                 <adapt
       
   508                       type="java.util.Collection">
       
   509                 </adapt>
       
   510              </or>
       
   511           </enablement>
       
   512        </commonWizard>
       
   513        <dropAssistant
       
   514              class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaDropAdapterAssistant"
       
   515              id="org.eclipse.wst.jsdt.ui.dropAssistant">
       
   516           <possibleDropTargets>
       
   517              <or>
       
   518                 <instanceof
       
   519                       value="org.eclipse.core.resources.IResource">
       
   520                 </instanceof>
       
   521                 <instanceof
       
   522                       value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
       
   523                 </instanceof>
       
   524              </or>
       
   525           </possibleDropTargets>
       
   526        </dropAssistant>
       
   527        <commonSorter
       
   528              class="org.symbian.tools.wrttools.navigator.NavigatorSorter"
       
   529              id="org.symbian.tools.wrttools.sorter">
       
   530        </commonSorter>
       
   531     </navigatorContent>
       
   532  </extension>
       
   533  <extension
   255  <extension
   534        point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
   256        point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
   535     <JsGlobalScopeContainerInitializer
   257     <JsGlobalScopeContainerInitializer
   536        class="org.symbian.tools.wrttools.core.libraries.WrtLibInitializer"
   258        class="org.symbian.tools.wrttools.core.libraries.WrtLibInitializer"
   537        id="org.symbian.wrt">
   259        id="org.symbian.wrt">
   568        point="org.eclipse.ui.keywords">
   290        point="org.eclipse.ui.keywords">
   569     <keyword
   291     <keyword
   570           id="org.symbian.tools.wrttools.wrtwords"
   292           id="org.symbian.tools.wrttools.wrtwords"
   571           label="wrt, webruntime, web runtime, cwrt widget">
   293           label="wrt, webruntime, web runtime, cwrt widget">
   572     </keyword>
   294     </keyword>
   573  </extension>
       
   574  <extension
       
   575        point="org.eclipse.ui.navigator.linkHelper">
       
   576     <linkHelper
       
   577           class="org.symbian.tools.wrttools.navigator.WrtNavigatorLinkHelper"
       
   578           id="org.symbian.tools.wrttools.wrtLinkHelper">
       
   579        <editorInputEnablement>
       
   580           <adapt
       
   581                 type="org.eclipse.ui.IFileEditorInput">
       
   582           </adapt>
       
   583        </editorInputEnablement>
       
   584        <selectionEnablement>
       
   585           <or>
       
   586              <adapt
       
   587                    type="org.eclipse.wst.jsdt.core.IJavaScriptElement">
       
   588              </adapt>
       
   589              <instanceof
       
   590                    value="java.util.Collection">
       
   591              </instanceof>
       
   592              <adapt
       
   593                    type="org.eclipse.core.resources.IResource">
       
   594              </adapt>
       
   595           </or>
       
   596        </selectionEnablement>
       
   597     </linkHelper>
       
   598  </extension>
   295  </extension>
   599  <extension
   296  <extension
   600        id="org.symbian.tools.wrttools.platformservices"
   297        id="org.symbian.tools.wrttools.platformservices"
   601        name="Platform Services Inferrence Support"
   298        name="Platform Services Inferrence Support"
   602        point="org.eclipse.wst.jsdt.core.inferrenceSupport">
   299        point="org.eclipse.wst.jsdt.core.inferrenceSupport">
   825           icon="icons/main16.gif"
   522           icon="icons/main16.gif"
   826           id="org.symbian.tools.wrttools.packagingDeclarator"
   523           id="org.symbian.tools.wrttools.packagingDeclarator"
   827           label="Mobile Web Packaging Information"
   524           label="Mobile Web Packaging Information"
   828           lightweight="true"
   525           lightweight="true"
   829           location="TOP_RIGHT"
   526           location="TOP_RIGHT"
   830           objectClass="org.eclipse.core.resources.IResource"
       
   831           state="true">
   527           state="true">
       
   528        <enablement>
       
   529        	<objectClass
       
   530               name="org.eclipse.core.resources.IResource">
       
   531        	</objectClass>
       
   532        </enablement>
   832     </decorator>
   533     </decorator>
   833  </extension>
   534  </extension>
   834  <extension
   535  <extension
   835        id="org.symbian.tools.wrttools.excluded"
   536        id="org.symbian.tools.wrttools.excluded"
   836        name="Excluded from Mobile Web packaging marker"
   537        name="Excluded from Mobile Web packaging marker"