org.symbian.tools.wrttools/plugin.xml
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 02 Jul 2010 17:51:53 -0700
changeset 420 716a505be7b8
parent 409 cc687be9a816
child 433 413d1cc4e88a
permissions -rw-r--r--
Bug 2493 - Add phonegap API support and phonegap sample app
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
     2
<?eclipse version="3.4"?>
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
     3
<plugin>
274
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 266
diff changeset
     4
   <extension-point id="projectTemplates" name="WRT Project Templates" schema="schema/projectTemplates.exsd"/>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
     5
   <extension-point id="jsLibraries" name="JavaScript Libraries" schema="schema/jsLibraries.exsd"/>
0
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
     6
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     7
<!-- Generic Project Builder and Project Natures  -->		
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     8
 	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     9
<!-- Widget Project Nature -->	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    10
 <extension
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    11
       id="WidgetProjectNature"
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    12
       point="org.eclipse.core.resources.natures">
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    13
    <runtime>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    14
       <run class="org.symbian.tools.wrttools.WidgetProjectNature"/>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    15
    </runtime>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    16
 </extension> 
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    17
 
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    18
<!-- Widget Project Nature Images -->
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    19
        <extension
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    20
              point="org.eclipse.ui.ide.projectNatureImages">
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    21
           <image
136
058151c7f9e6 Fixed bug 1865 New warning in FlickrParser.js. Fixed 1871 About Web Runtime Toolkit IDE Details. Added new WRT icons. More refinements to come.
tasneems@symbian.org
parents: 129
diff changeset
    22
                 icon="icons/WRT_main_16.png"
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    23
                 id="org.symbian.tools.wrttools.natureImage"
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    24
                 natureId="org.symbian.tools.wrttools.WidgetProjectNature">
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    25
           </image>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    26
        </extension>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    27
        
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    28
<!-- Web Runtime Preferences --> 
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    29
 <extension
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    30
    point="org.eclipse.core.runtime.preferences">
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    31
    <initializer class="org.symbian.tools.wrttools.core.deploy.PreferenceInitializer"/>
190
13a34213b146 Fixed Bug 1953 - Import File Browse Doesn't remember last directory
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 183
diff changeset
    32
    <initializer
13a34213b146 Fixed Bug 1953 - Import File Browse Doesn't remember last directory
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 183
diff changeset
    33
          class="org.symbian.tools.wrttools.core.WrtIdeCorePreferences">
13a34213b146 Fixed Bug 1953 - Import File Browse Doesn't remember last directory
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 183
diff changeset
    34
    </initializer>
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    35
 </extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    36
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    37
<!-- WRT Tool Integration (Package, Validate, Include, Exclude Settings)-->
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
    38
 <extension	
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    39
          point="org.eclipse.ui.popupMenus">
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    40
      <objectContribution
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    41
            objectClass="org.eclipse.core.resources.IResource"            
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    42
            id="org.symbian.tools.wrttools.widget.wrttool.packageoptions">
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    43
         <visibility>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    44
            <not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    45
               <or>
248
039260aebcb6 Fixed 2163: Cannot include file into WGZ archive
tasneems@symbian.org
parents: 247
diff changeset
    46
               <objectState name="persistentProperty" value="org.symbian.tools.wrttools.core.packager.exclude"/>
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    47
			   <objectState name="extension" value="plist"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    48
			   <objectClass name="org.eclipse.core.resources.IProject"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    49
			   </or>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    50
            </not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    51
         </visibility>
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    52
     	 <filter
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    53
         	name="projectNature"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    54
         	value="org.symbian.tools.wrttools.WidgetProjectNature"/>           
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    55
         <action
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    56
             class="org.symbian.tools.wrttools.core.packager.ExcludeFileAction"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    57
             icon="icons/exclude_archive.gif"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    58
             id="org.symbian.tools.wrttools.widget.wrttool.packageoptions.ExcludeFileAction"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
    59
             label="Exclude From Archive"
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    60
             menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> 
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    61
         </action>  
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    62
      </objectContribution>    
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    63
      <objectContribution
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    64
            objectClass="org.eclipse.core.resources.IResource"            
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    65
            id="org.symbian.tools.wrttools.widget.wrttool.packageoptions">
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    66
      <visibility>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    67
        <and>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    68
	        <not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    69
	        	<objectState name="extension" value="wgz"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    70
	        </not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    71
	        <and>
248
039260aebcb6 Fixed 2163: Cannot include file into WGZ archive
tasneems@symbian.org
parents: 247
diff changeset
    72
	        	<objectState name="persistentProperty" value="org.symbian.tools.wrttools.core.packager.exclude"/>
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    73
	        	<objectState name="projectNature" value="org.symbian.tools.wrttools.WidgetProjectNature"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    74
	        </and>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    75
        </and>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    76
       </visibility>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    77
       <action
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    78
             class="org.symbian.tools.wrttools.core.packager.IncludeFileAction"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    79
             icon="icons/include_archive.gif"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    80
             id="org.symbian.tools.wrttools.widget.wrttool.packageoptions.IncludeFileAction"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
    81
             label="Include in Archive"
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    82
             menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> 
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    83
      </action>  
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    84
    </objectContribution>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    85
   </extension>  
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    86
375
d1edab2715d4 plugin.xml cleanup
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 374
diff changeset
    87
<!-- CSS Validator -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    88
	<extension id="org.symbian.tools.wrttools.core.cssvalidator"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    89
		name="CSS Validator" point="org.eclipse.wst.validation.validatorV2">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    90
		<validator build="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    91
			class="org.symbian.tools.wrttools.core.internal.validation.CssBuildValidator"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    92
			manual="true" markerId="org.symbian.tools.wrttools.core.cssValidationMarker"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    93
			version="0.0.1">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    94
			<include>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    95
				<rules>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    96
					<contentType exactMatch="false"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    97
						id="org.eclipse.wst.css.core.csssource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    98
					</contentType>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    99
				</rules>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   100
			</include>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   101
		</validator>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   102
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   103
	 
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   104
	<extension point="org.eclipse.ui.newWizards">
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   105
		<category id="org.symbian.tools.wrttools.core.category" name="Mobile Web Tools">
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   106
		</category>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   107
		<wizard category="org.symbian.tools.wrttools.core.category"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   108
			class="org.symbian.tools.wrttools.wizards.WrtWidgetWizard"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   109
			finalPerspective="org.symbian.tools.wrttools.mainPerspective"
136
058151c7f9e6 Fixed bug 1865 New warning in FlickrParser.js. Fixed 1871 About Web Runtime Toolkit IDE Details. Added new WRT icons. More refinements to come.
tasneems@symbian.org
parents: 129
diff changeset
   110
			hasPages="true" icon="icons/WRT_main_16.png"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   111
			id="org.symbian.tools.wrttools.core.wrtwidgetwizard" name="Mobile Web Application Project"
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   112
			project="true">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   113
			<description>
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
   114
				Creates a new Symbian WRT application project using one of the provided
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
   115
				templates
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   116
         </description>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   117
		</wizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   118
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   119
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   120
<!-- WRT Project Templates -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   121
	<extension point="org.symbian.tools.wrttools.projectTemplates">
205
cae914a9293d Fixed bug 2067: create blank WRT project. Added default icon.
tasneems@symbian.org
parents: 203
diff changeset
   122
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   123
      <projectTemplate
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   124
            archive="projecttemplates/basic.zip"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   125
            default-css-name="basic"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   126
            default-html-name="index"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   127
            default-js-name="basic"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   128
            icon="icons/main16.gif"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   129
            id-pattern="com.{0}.basic.widget"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   130
            name="Minimal Project"
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   131
            order="10">
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   132
			<description>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   133
				This wizard generates an empty widget project with a minimal Info.plist, html,css and js.
0
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
   134
         </description>
205
cae914a9293d Fixed bug 2067: create blank WRT project. Added default icon.
tasneems@symbian.org
parents: 203
diff changeset
   135
	  </projectTemplate> 
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   136
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   137
      <projectTemplate
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   138
            archive="projecttemplates/helloWithWRTKit.zip"
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   139
            default-css-name="HelloWithWRTKit"
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   140
            default-html-name="index"
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   141
            default-js-name="HelloWithWRTKit"
136
058151c7f9e6 Fixed bug 1865 New warning in FlickrParser.js. Fixed 1871 About Web Runtime Toolkit IDE Details. Added new WRT icons. More refinements to come.
tasneems@symbian.org
parents: 129
diff changeset
   142
            icon="icons/WRT_main_16.png"
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   143
            id-pattern="com.{0}.helloWithWRTKit.widget"
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   144
            name="Hello World Project"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   145
            order="1"
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   146
            wizard-page-factory="org.symbian.tools.wrttools.wizards.HelloWithWRTKitProjectDetailsWizardPage$Factory">
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   147
         <description>
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   148
            This wizard generates a basic Hello project with a minimal Info.plist, html,css and js along with WRTKit.
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   149
         </description>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   150
         <requires-library>org.symbian.wrtkit</requires-library>
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   151
      </projectTemplate>
420
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   152
      <projectTemplate
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   153
            archive="projecttemplates/phonegap.zip"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   154
            default-css-name="css"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   155
            default-html-name="index"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   156
            default-js-name="main"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   157
            icon="icons/phonegap.png"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   158
            id-pattern="com.{0}.widget"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   159
            name="PhoneGap Application"
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   160
            order="2">
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   161
         <description>
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   162
            This wizard generates a project based on the PhoneGap library that showcases PhoneGap API usage.
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   163
         </description>
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   164
         <requires-library>phonegap</requires-library>
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   165
      </projectTemplate>
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   166
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   167
      <projectTemplate
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   168
            archive="projecttemplates/flickr.zip"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   169
            default-css-name="Flickr"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   170
            default-html-name="index"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   171
            default-js-name="Flickr"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   172
            icon="icons/flickr.gif"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   173
            id-pattern="com.{0}.flickr.widget"
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   174
            name="Flickr Project"
420
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   175
            order="3"
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   176
            wizard-page-factory="org.symbian.tools.wrttools.wizards.FlickrProjectDetailsWizardPage$Factory">
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   177
         <description>
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   178
            This wizard generates an Flickr project with a minimal Info.plist, html,css and js and WRTKit.
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   179
         </description>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   180
         <requires-library>org.symbian.wrtkit</requires-library>
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   181
      </projectTemplate>
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   182
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   183
      <projectTemplate
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   184
            archive="projecttemplates/rssreader.zip"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   185
            default-css-name="RSSReader"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   186
            default-html-name="index"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   187
            default-js-name="RSSReader"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   188
            icon="icons/rss.gif"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   189
            id-pattern="com.{0}.rssreader.widget"
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   190
            name="RSS Reader Project"
420
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   191
            order="4"
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   192
            wizard-page-factory="org.symbian.tools.wrttools.wizards.RssReaderProjectDetailsWizardPage$Factory">
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   193
         <description>
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   194
            This wizard generates an RSS Reader project with a minimal Info.plist, html,css and js and WRTKit.
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   195
         </description>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   196
         <requires-library>org.symbian.wrtkit</requires-library>
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   197
      </projectTemplate>
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   198
      <projectTemplate
388
bd7a2b98ea78 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 387
diff changeset
   199
            archive="projecttemplates/uitemplate.zip"
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   200
            default-css-name="basic"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   201
            default-html-name="index"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   202
            default-js-name="basic"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   203
            icon="icons/main16.gif"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   204
            id-pattern="com.{0}.basic.widget"
420
716a505be7b8 Bug 2493 - Add phonegap API support and phonegap sample app
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 409
diff changeset
   205
            order="5"
387
53123b7b800d Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 386
diff changeset
   206
            name="Various UI Templates">
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   207
         <description>
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   208
            Includes templates for high-end devices from Forum.Nokia.
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   209
         </description>
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   210
      </projectTemplate>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   211
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   212
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   213
<!-- Import Wizard -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   214
	<extension point="org.eclipse.ui.importWizards">
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   215
		<category id="org.symbian.tools.wrttools.import" name="Mobile Web Tools">
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   216
		</category>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   217
		<wizard category="org.symbian.tools.wrttools.import"
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   218
			class="org.symbian.tools.wrttools.wizards.projectimport.WrtProjectsImportWizard"
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   219
			icon="icons/import_aptana_project.gif" id="org.symbian.tools.wrttools.import.projectImport"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   220
			name="Existing Mobile Web Projects into Workspace">
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   221
     <description>
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   222
        Import WRT project created in Aptana, Adobe Dreamweaver or WRT IDE
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   223
     </description>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   224
		</wizard>
354
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   225
		
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   226
		<wizard
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   227
          category="org.symbian.tools.wrttools.import"
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   228
          class="org.symbian.tools.wrttools.wizards.WgzImportWizard"
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   229
          icon="icons/import_16x16px.png"
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   230
          id="org.symbian.tools.wrttools.importwgz"
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   231
          name="Application Archive (WGZ)">
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   232
        <description>
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   233
          Create WRT project from deployable WGZ application archive
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   234
        </description>
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   235
      </wizard>
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   236
		
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   237
    </extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   238
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   239
<!-- WRT Content Descriptor (.plist) file -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   240
	<extension point="org.eclipse.core.contenttype.contentTypes">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   241
		<content-type base-type="org.eclipse.core.runtime.xml"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   242
			file-extensions="plist" id="org.symbian.tools.wrttools.contenttype.plist"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   243
			name="WebRuntime Descriptor File" priority="normal">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   244
		</content-type>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   245
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   246
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   247
<!-- Perspective Extensions -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   248
	<extension point="org.eclipse.ui.perspectiveExtensions">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   249
		<perspectiveExtension targetID="org.eclipse.wst.jsdt.ui.JavaPerspective">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   250
			<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   251
			</newWizardShortcut>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   252
		</perspectiveExtension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   253
		<perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   254
			<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   255
			</newWizardShortcut>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   256
		</perspectiveExtension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   257
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   258
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   259
<!-- Navigator Extensions -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   260
	<extension point="org.eclipse.ui.views">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   261
		<view allowMultiple="false" category="org.symbian.tools.wrttools.views"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   262
			class="org.eclipse.ui.navigator.CommonNavigator" icon="icons/main16.gif"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   263
			id="org.symbian.tools.wrttools.wrtnavigator" name="Projects"
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   264
			restorable="true">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   265
		</view>
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   266
		<category id="org.symbian.tools.wrttools.views" name="Tools for Mobile Web">
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   267
		</category>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   268
	</extension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   269
	<extension point="org.eclipse.ui.navigator.viewer">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   270
		<viewer viewerId="org.symbian.tools.wrttools.wrtnavigator">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   271
			<popupMenu allowsPlatformContributions="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   272
				id="org.eclipse.ui.navigator.ProjectExplorer#PopupMenu">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   273
				<insertionPoint name="group.new" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   274
				<insertionPoint name="group.open" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   275
				<insertionPoint name="group.openWith" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   276
				<insertionPoint name="group.edit" separator="true" />
48
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   277
				<insertionPoint name="group.reorganize" separator="true" />
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   278
				<insertionPoint name="group.port" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   279
				<insertionPoint name="group.build" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   280
				<insertionPoint name="group.generate" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   281
				<insertionPoint name="group.search" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   282
				<insertionPoint name="additions" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   283
				<insertionPoint name="group.properties" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   284
			</popupMenu>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   285
		</viewer>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   286
		<viewerContentBinding viewerId="org.symbian.tools.wrttools.wrtnavigator">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   287
			<includes>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   288
				<contentExtension
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   289
          isRoot="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   290
          pattern="org.symbian.tools.wrttools.navigatorcontent"/>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   291
				<contentExtension pattern="org.eclipse.ui.navigator.resources.filters.*" />
208
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   292
				<contentExtension
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   293
          isRoot="true"
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   294
          pattern="org.symbian.tools.wrttools.wrtLinkHelper"/>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   295
			</includes>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   296
		</viewerContentBinding>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   297
		<viewerActionBinding viewerId="org.symbian.tools.wrttools.wrtnavigator">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   298
			<includes>
48
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   299
				<actionExtension pattern="org.eclipse.ui.navigator.resources.PortingActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   300
				<actionExtension pattern="org.eclipse.ui.navigator.resources.GotoActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   301
				<actionExtension pattern="org.eclipse.ui.navigator.resources.GoIntoActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   302
				<actionExtension pattern="org.eclipse.ui.navigator.resources.NewActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   303
				<actionExtension pattern="org.eclipse.ui.navigator.resources.PropertiesActionProvider" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   304
				<actionExtension pattern="org.eclipse.ui.navigator.resources.WorkManagementActionProvider" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   305
				<actionExtension pattern="org.eclipse.ui.navigator.resources.ResourceMgmtActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   306
				<actionExtension pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   307
				<actionExtension pattern="org.eclipse.ui.navigator.resources.WorkingSetActions" />
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   308
			</includes>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   309
		</viewerActionBinding>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   310
		<dragAssistant
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   311
			class="org.eclipse.ui.navigator.resources.ResourceDragAdapterAssistant"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   312
			viewerId="org.symbian.tools.wrttools.wrtnavigator" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   313
	</extension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   314
	 <extension
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   315
       point="org.eclipse.ui.navigator.navigatorContent">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   316
    <navigatorContent
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   317
          activeByDefault="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   318
          contentProvider="org.symbian.tools.wrttools.navigator.WRTNavigatorContentProvider"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   319
          icon="icons/main16.gif"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   320
          id="org.symbian.tools.wrttools.navigatorcontent"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   321
          labelProvider="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorLabelProvider"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   322
          name="Mobile Web"
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   323
          priority="high"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   324
          providesSaveables="false">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   325
       <triggerPoints>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   326
          <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   327
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   328
                   value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   329
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   330
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   331
                   value="org.eclipse.wst.jsdt.core.IJarEntryResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   332
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   333
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   334
                   value="org.eclipse.wst.jsdt.internal.ui.packageview.PackageFragmentRootContainer">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   335
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   336
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   337
                   value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   338
             </instanceof>
194
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   339
             <instanceof
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   340
                   value="org.eclipse.core.resources.IResource">
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   341
             </instanceof>
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   342
             <adapt
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   343
                   type="org.eclipse.core.resources.IProject">
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   344
                <test
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   345
                      property="org.eclipse.core.resources.projectNature"
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   346
                      value="org.symbian.tools.wrttools.WidgetProjectNature">
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   347
                </test>
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   348
             </adapt>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   349
          </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   350
       </triggerPoints>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   351
       <possibleChildren>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   352
          <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   353
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   354
                   value="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   355
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   356
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   357
                   value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   358
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   359
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   360
                   value="org.eclipse.wst.jsdt.core.IJarEntryResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   361
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   362
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   363
                   value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   364
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   365
          </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   366
       </possibleChildren>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   367
       <actionProvider
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   368
             class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorActionProvider"
48
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   369
             id="org.eclipse.wst.jsdt.ui.navigator.actions.StandardActions">
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   370
       </actionProvider>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   371
       <actionProvider
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   372
             class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorRefactorActionProvider"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   373
             id="org.eclipse.wst.jsdt.ui.navigator.actions.RefactorActions"
126
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   374
             overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   375
          <enablement>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   376
             <or>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   377
                <adapt
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   378
                      type="java.util.Collection">
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   379
                   <count
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   380
                         value="0">
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   381
                   </count>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   382
                </adapt>
153
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   383
                <and>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   384
                   <or>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   385
                      <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   386
                            value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   387
                      </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   388
                      <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   389
                            value="org.eclipse.wst.jsdt.core.IJarEntryResource">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   390
                      </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   391
                   </or>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   392
                   <not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   393
                      <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   394
                            value="org.eclipse.wst.jsdt.core.ITypeRoot">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   395
                      </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   396
                   </not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   397
                </and>
126
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   398
             </or>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   399
          </enablement>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   400
       </actionProvider>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   401
       <actionProvider
153
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   402
             class="org.symbian.tools.wrttools.navigator.RenameMoveActionProvider"
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   403
             id="org.symbian.wrttools.navigator.MoveRename"
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   404
             overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   405
          <enablement>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   406
             <and>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   407
                <adapt
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   408
                      type="org.eclipse.core.resources.IResource">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   409
                </adapt>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   410
                <not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   411
                   <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   412
                         value="org.eclipse.wst.jsdt.core.IType">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   413
                   </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   414
                </not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   415
             </and>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   416
          </enablement>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   417
       </actionProvider>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   418
       <actionProvider
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   419
             class="org.eclipse.wst.jsdt.internal.ui.navigator.PackageExplorerOpenActionProvider"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   420
             id="org.eclipse.wst.jsdt.ui.navigator.actions.OpenActions"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   421
             overrides="org.eclipse.ui.navigator.resources.OpenActions">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   422
       </actionProvider>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   423
       <override
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   424
             policy="InvokeAlwaysRegardlessOfSuppressedExt"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   425
             suppressedExtensionId="org.eclipse.ui.navigator.resourceContent">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   426
       </override>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   427
       <commonWizard
354
0bceeb415e7f Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 353
diff changeset
   428
             type="import"
275
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   429
             wizardId="org.symbian.tools.wrttools.importwgz">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   430
          <enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   431
             <or>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   432
                <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   433
                      type="org.eclipse.core.resources.IResource">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   434
                </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   435
                <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   436
                      type="java.util.Collection">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   437
                </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   438
             </or>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   439
          </enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   440
       </commonWizard>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   441
       <commonWizard
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   442
             menuGroupId="group.new.z"
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   443
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   444
             wizardId="org.symbian.tools.wrttools.core.wrtwidgetwizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   445
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   446
             <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   447
                <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   448
                      type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   449
                </adapt>
153
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   450
                <adapt
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   451
                      type="java.util.Collection">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   452
                </adapt>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   453
             </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   454
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   455
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   456
       <commonWizard
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   457
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   458
             wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   459
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   460
             <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   461
                   type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   462
             </adapt>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   463
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   464
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   465
       <commonWizard
275
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   466
             menuGroupId="group.new.generic"
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   467
             type="new"
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   468
             wizardId="org.eclipse.ui.wizards.new.folder">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   469
          <enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   470
             <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   471
                   type="org.eclipse.core.resources.IResource">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   472
             </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   473
          </enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   474
       </commonWizard>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   475
       <commonWizard
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   476
             menuGroupId="group.new.generic"
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   477
             type="new"
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   478
             wizardId="org.eclipse.ui.wizards.new.file">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   479
          <enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   480
             <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   481
                   type="org.eclipse.core.resources.IResource">
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   482
             </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   483
          </enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   484
       </commonWizard>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   485
       <commonWizard
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   486
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   487
             wizardId="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   488
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   489
             <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   490
                   type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   491
             </adapt>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   492
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   493
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   494
       <commonWizard
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   495
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   496
             wizardId="org.eclipse.wst.jsdt.ui.NewJSWizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   497
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   498
             <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   499
                   type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   500
             </adapt>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   501
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   502
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   503
       <commonWizard
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   504
             type="import"
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   505
             wizardId="org.symbian.tools.wrttools.import.projectImport">
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   506
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   507
             <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   508
                <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   509
                      type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   510
                </adapt>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   511
                <adapt
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   512
                      type="java.util.Collection">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   513
                </adapt>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   514
             </or>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   515
          </enablement>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   516
       </commonWizard>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   517
       <dropAssistant
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   518
             class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaDropAdapterAssistant"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   519
             id="org.eclipse.wst.jsdt.ui.dropAssistant">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   520
          <possibleDropTargets>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   521
             <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   522
                <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   523
                      value="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   524
                </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   525
                <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   526
                      value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   527
                </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   528
             </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   529
          </possibleDropTargets>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   530
       </dropAssistant>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   531
       <commonSorter
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   532
             class="org.symbian.tools.wrttools.navigator.NavigatorSorter"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   533
             id="org.symbian.tools.wrttools.sorter">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   534
       </commonSorter>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   535
    </navigatorContent>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   536
 </extension>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   537
 <extension
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   538
       point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   539
    <JsGlobalScopeContainerInitializer
216
914d053d42b1 Bug 2070 - added code completion for browser objects (window, navigator, etc) and core WRT objects (widget, device)
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 208
diff changeset
   540
       class="org.symbian.tools.wrttools.core.libraries.WrtLibInitializer"
914d053d42b1 Bug 2070 - added code completion for browser objects (window, navigator, etc) and core WRT objects (widget, device)
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 208
diff changeset
   541
       id="org.symbian.wrt">
914d053d42b1 Bug 2070 - added code completion for browser objects (window, navigator, etc) and core WRT objects (widget, device)
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 208
diff changeset
   542
    </JsGlobalScopeContainerInitializer>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   543
 </extension>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   544
 <extension
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   545
        point="org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   546
    <JsGlobalScopeContainerPage
397
e5346aff014d Change from Webruntime to Tools for Mobile Web and WRT to TMW - bug 2899
Paul Beusterien <paulb@symbian.org>
parents: 390
diff changeset
   547
            name="Tools for Mobile Web"
216
914d053d42b1 Bug 2070 - added code completion for browser objects (window, navigator, etc) and core WRT objects (widget, device)
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 208
diff changeset
   548
            class="org.symbian.tools.wrttools.wizards.WrtLibraryWizardPage"
914d053d42b1 Bug 2070 - added code completion for browser objects (window, navigator, etc) and core WRT objects (widget, device)
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 208
diff changeset
   549
            id="org.symbian.wrt">
914d053d42b1 Bug 2070 - added code completion for browser objects (window, navigator, etc) and core WRT objects (widget, device)
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 208
diff changeset
   550
    </JsGlobalScopeContainerPage>    
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   551
  </extension>
98
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   552
 <extension
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   553
       id="org.symbian.tools.wrttools.core.plistvalidator"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   554
       name="WRT Application Descriptor Validator"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   555
       point="org.eclipse.wst.validation.validatorV2">
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   556
    <validator
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   557
          build="true"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   558
          class="org.symbian.tools.wrttools.core.internal.validation.WrtApplicationValidator"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   559
          manual="true"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   560
          markerId="org.symbian.tools.wrttools.core.cssValidationMarker"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   561
          version="0.0.1">
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   562
       <include>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   563
          <rules>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   564
             <projectNature
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   565
                   id="org.symbian.tools.wrttools.WidgetProjectNature">
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   566
             </projectNature>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   567
          </rules>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   568
       </include>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   569
    </validator>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   570
 </extension>
183
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   571
 <extension
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   572
       point="org.eclipse.ui.keywords">
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   573
    <keyword
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   574
          id="org.symbian.tools.wrttools.wrtwords"
237
63858673b918 Bug 2086 - Review Run/Debug preferences
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 218
diff changeset
   575
          label="wrt, webruntime, web runtime, cwrt widget">
183
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   576
    </keyword>
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   577
 </extension>
208
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   578
 <extension
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   579
       point="org.eclipse.ui.navigator.linkHelper">
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   580
    <linkHelper
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   581
          class="org.symbian.tools.wrttools.navigator.WrtNavigatorLinkHelper"
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   582
          id="org.symbian.tools.wrttools.wrtLinkHelper">
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   583
       <editorInputEnablement>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   584
          <adapt
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   585
                type="org.eclipse.ui.IFileEditorInput">
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   586
          </adapt>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   587
       </editorInputEnablement>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   588
       <selectionEnablement>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   589
          <or>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   590
             <adapt
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   591
                   type="org.eclipse.wst.jsdt.core.IJavaScriptElement">
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   592
             </adapt>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   593
             <instanceof
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   594
                   value="java.util.Collection">
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   595
             </instanceof>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   596
             <adapt
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   597
                   type="org.eclipse.core.resources.IResource">
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   598
             </adapt>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   599
          </or>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   600
       </selectionEnablement>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   601
    </linkHelper>
4cb21ecdda83 Bug 2073 - On restart of WRT tools - its hard to know which project the open file is in
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 205
diff changeset
   602
 </extension>
218
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   603
 <extension
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   604
       id="org.symbian.tools.wrttools.platformservices"
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   605
       name="Platform Services Inferrence Support"
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   606
       point="org.eclipse.wst.jsdt.core.inferrenceSupport">
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   607
    <inferenceProvider
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   608
          class="org.symbian.tools.wrttools.core.libraries.PlatformServicesTypeProvider">
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   609
    </inferenceProvider>
d6dd3cce46a6 Bug 2070 - Code completion: Add support for code completion for built in global objects
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 216
diff changeset
   610
 </extension>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   611
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   612
       point="org.eclipse.ui.commands">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   613
    <category
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   614
          id="org.symbian.tools.wrttools.commands.maincategory"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   615
          name="Tools for Mobile Web">
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   616
    </category>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   617
    <command
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   618
          categoryId="org.symbian.tools.wrttools.commands.maincategory"
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   619
          description="Deploys an application to phone or emulator"
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   620
          id="org.symbian.tools.wrttools.commands.deploy"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   621
          name="Deploy Application">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   622
    </command>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   623
    <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   624
          categoryId="org.symbian.tools.wrttools.commands.maincategory"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   625
          description="Packages an application for distribution or deployment"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   626
          id="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   627
          name="Package Application">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   628
    </command>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   629
    <command
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   630
          categoryId="org.symbian.tools.wrttools.commands.maincategory"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   631
          defaultHandler="org.symbian.tools.wrttools.handlers.AddJSLibrary"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   632
          description="Adds JavaScript libraries to Mobile Web projects"
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   633
          id="org.symbian.tools.wrttools.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   634
          name="Add JavaScript Libraries...">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   635
    </command>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   636
 </extension>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   637
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   638
       point="org.eclipse.ui.menus">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   639
    <menuContribution
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   640
          locationURI="toolbar:org.eclipse.ui.main.toolbar">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   641
       <toolbar
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   642
             id="org.symbian.tools.wrttools">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   643
          <command
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   644
                commandId="org.symbian.tools.wrttools.commands.deploy"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   645
                icon="icons/deploy_widget.gif"
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   646
                id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   647
          </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   648
          <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   649
                commandId="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   650
                icon="icons/package_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   651
                id="org.symbian.tools.wrttools.toolbars.package">
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   652
          </command>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   653
       </toolbar>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   654
    </menuContribution>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   655
    <menuContribution
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   656
          locationURI="menu:project?after=additions">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   657
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   658
             name="org.symbian.tools.wrttools.beginwert"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   659
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   660
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   661
       <command
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   662
             commandId="org.symbian.tools.wrttools.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   663
             id="org.symbian.tools.wrttools.toolbars.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   664
             style="push">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   665
       </command>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   666
       <separator
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   667
             name="org.symbian.tools.wrttools.deploypackage"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   668
             visible="true">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   669
       </separator>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   670
       <command
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   671
             commandId="org.symbian.tools.wrttools.commands.deploy"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   672
             icon="icons/deploy_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   673
             id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   674
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   675
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   676
             commandId="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   677
             icon="icons/package_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   678
             id="org.symbian.tools.wrttools.toolbars.package">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   679
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   680
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   681
             name="org.symbian.tools.wrttools.endwrt"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   682
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   683
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   684
    </menuContribution>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   685
    <menuContribution
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   686
          locationURI="popup:org.eclipse.ui.popup.any?after=sourceMenuId">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   687
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   688
             name="org.symbian.tools.wrttools.beginwert"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   689
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   690
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   691
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   692
             commandId="org.symbian.tools.wrttools.commands.deploy"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   693
             icon="icons/deploy_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   694
             id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   695
          <visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   696
             <and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   697
                <iterate
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   698
                      ifEmpty="false"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   699
                      operator="and">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   700
                   <adapt
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   701
                         type="org.eclipse.core.resources.IProject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   702
                   </adapt>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   703
                </iterate>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   704
                <count
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   705
                      value="1">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   706
                </count>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   707
             </and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   708
          </visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   709
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   710
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   711
             commandId="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   712
             icon="icons/package_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   713
             id="org.symbian.tools.wrttools.toolbars.package">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   714
          <visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   715
             <and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   716
                <iterate
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   717
                      ifEmpty="false"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   718
                      operator="and">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   719
                   <adapt
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   720
                         type="org.eclipse.core.resources.IProject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   721
                   </adapt>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   722
                </iterate>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   723
                <count
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   724
                      value="1">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   725
                </count>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   726
             </and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   727
          </visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   728
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   729
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   730
             name="org.symbian.tools.wrttools.endwrt"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   731
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   732
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   733
    </menuContribution>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   734
    <menuContribution
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   735
          locationURI="popup:org.eclipse.ui.popup.any?after=group.build">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   736
       <dynamic
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   737
             class="org.symbian.tools.wrttools.core.libraries.AddLibraryPopupMenu$LibrariesPopupMenu"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   738
             id="org.symbian.tools.wrttools.addlibrary">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   739
          <visibleWhen>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   740
             <and>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   741
                <iterate
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   742
                      ifEmpty="false"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   743
                      operator="and">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   744
                   <adapt
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   745
                         type="org.eclipse.core.resources.IProject">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   746
                      <test
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   747
                            property="org.eclipse.core.resources.projectNature"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   748
                            value="org.symbian.tools.wrttools.WidgetProjectNature">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   749
                      </test>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   750
                   </adapt>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   751
                </iterate>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   752
                <count
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   753
                      value="1">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   754
                </count>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   755
             </and>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   756
          </visibleWhen>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   757
       </dynamic>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   758
       <separator
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   759
             name="org.symbian.tools.wrttools.libs"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   760
             visible="true">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   761
       </separator>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   762
    </menuContribution>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   763
 </extension>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   764
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   765
       point="org.eclipse.ui.handlers">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   766
    <handler
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   767
          class="org.symbian.tools.wrttools.handlers.DeployHandler"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   768
          commandId="org.symbian.tools.wrttools.commands.deploy">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   769
       <enabledWhen>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   770
          <reference
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   771
                definitionId="org.symbian.tools.wrttools.symbianproject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   772
          </reference>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   773
       </enabledWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   774
    </handler>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   775
    <handler
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   776
          class="org.symbian.tools.wrttools.handlers.PackageApplicationHandler"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   777
          commandId="org.symbian.tools.wrttools.commands.package">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   778
       <enabledWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   779
          <reference
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   780
                definitionId="org.symbian.tools.wrttools.symbianproject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   781
          </reference>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   782
       </enabledWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   783
    </handler>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   784
 </extension>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   785
 <extension
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   786
       point="org.eclipse.core.expressions.definitions">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   787
    <definition
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   788
          id="org.symbian.tools.wrttools.symbianproject">
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   789
          <or>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   790
             <with
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   791
                   variable="selection">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   792
                <and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   793
                   <count
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   794
                         value="1">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   795
                   </count>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   796
                   <iterate>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   797
                      <adapt
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   798
                            type="org.eclipse.core.resources.IResource">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   799
                         <test
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   800
                               property="org.eclipse.core.resources.projectNature"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   801
                               value="org.symbian.tools.wrttools.WidgetProjectNature">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   802
                         </test>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   803
                      </adapt>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   804
                   </iterate>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   805
                </and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   806
             </with>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   807
             <and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   808
                <with
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   809
                      variable="activePart">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   810
                   <instanceof
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   811
                         value="org.eclipse.ui.IEditorPart">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   812
                   </instanceof>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   813
                </with>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   814
                <with
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   815
                      variable="activeEditorInput">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   816
                   <adapt
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   817
                         type="org.eclipse.core.resources.IResource">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   818
                   </adapt>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   819
                </with>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   820
             </and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   821
          </or>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   822
    </definition>
282
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   823
 </extension>
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   824
 <extension
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   825
       point="org.eclipse.ui.decorators">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   826
    <decorator
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   827
          adaptable="true"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   828
          class="org.symbian.tools.wrttools.navigator.PackagingInformationDecorator"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   829
          icon="icons/main16.gif"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   830
          id="org.symbian.tools.wrttools.packagingDeclarator"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   831
          label="Mobile Web Packaging Information"
282
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   832
          lightweight="true"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   833
          location="TOP_RIGHT"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   834
          objectClass="org.eclipse.core.resources.IResource"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   835
          state="true">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   836
    </decorator>
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   837
 </extension>
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   838
 <extension
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   839
       id="org.symbian.tools.wrttools.excluded"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   840
       name="Excluded from Mobile Web packaging marker"
282
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   841
       point="org.eclipse.core.resources.markers">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   842
    <persistent
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   843
          value="true">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   844
    </persistent>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   845
 </extension>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   846
 <extension
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   847
       point="org.symbian.tools.wrttools.jsLibraries">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   848
    <library
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   849
          icon="icons/main16_prev.gif"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   850
          id="org.symbian.wrtkit"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   851
          installer="org.symbian.tools.wrttools.core.libraries.WRTKitInstaller"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   852
          name="WRTKit">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   853
    </library>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   854
    <library
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   855
          icon="icons/phonegap.png"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   856
          id="phonegap"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   857
          installer="org.symbian.tools.wrttools.core.libraries.PhoneGapInstaller"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   858
          name="PhoneGap">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   859
    </library>
319
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   860
 </extension>
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   861
 <extension
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   862
       id="org.symbian.tools.wrttools.phonegap"
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   863
       name="PhoneGap Library Support"
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   864
       point="org.eclipse.wst.jsdt.core.inferrenceSupport">
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   865
    <inferenceProvider
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   866
          class="org.symbian.tools.wrttools.core.libraries.jsdt.PhoneGapInferrenceProvider">
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   867
    </inferenceProvider>
348
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   868
 </extension>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   869
 <extension
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   870
       point="org.eclipse.ltk.core.refactoring.renameParticipants">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   871
    <renameParticipant
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   872
          class="org.symbian.tools.wrttools.core.project.ProjectRenameParticipant"
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   873
          id="org.symbian.tools.wrttools.renameParticipant1"
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   874
          name="WRT Projects Rename Participant">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   875
    <enablement>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   876
      <with variable="affectedNatures">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   877
        <iterate operator="or">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   878
          <equals value="org.symbian.tools.wrttools.WidgetProjectNature"/>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   879
        </iterate>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   880
      </with>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   881
      <with variable="element">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   882
         <adapt
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   883
               type="org.eclipse.core.resources.IProject">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   884
         </adapt>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   885
        
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   886
      </with>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   887
    </enablement>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   888
          
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   889
    </renameParticipant>
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   890
 </extension>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   891
 <extension
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   892
       point="org.eclipse.ui.editors.templates">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   893
    <include
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   894
          file="templates/default-templates.xml">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   895
    </include>
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   896
 </extension>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   897
 <extension
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   898
       point="org.eclipse.wst.common.snippets.SnippetContributions">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   899
    <category
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   900
          description="WRT-specific JavaScript snippets"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   901
          id="org.symbian.tools.wrttools.wrtsnippets"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   902
          label="Symbian Web Runtime"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   903
          smallicon="icons/main16.gif"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   904
          contenttypes="org.eclipse.wst.jsdt.core.jsSource">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   905
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
   906
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   907
             description="Retrieves list of the contacts"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   908
             id="org.symbian.tools.wrttools.contacts"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   909
             label="Get contacts">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   910
          <content>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   911
var contactService = device.getServiceObject("Service.Contact",
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   912
			"IDataSource");
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   913
	var result = contactService.IDataSource.GetList(
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   914
			{ Type : "Contact", Sort : { Order : "Ascending" } }
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   915
			);
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   916
	if (result.ErrorCode == 0) {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   917
		var contacts = result.ReturnValue;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   918
		for ( var contact = contacts.getNext(); contact != null; contact = contacts.getNext()) {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   919
			var firstName = contact.FirstName;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   920
			var lastName = contact.LastName;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   921
			var mobile = contact.MobilePhoneGen;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   922
			var landPhone = contact.LandPhoneGen;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   923
			var jobTitle = contact.JobTitle;
374
92f6ae438d71 Strings updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
   924
			// Consult WRT documentation for other possible fields
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   925
			// TODO Process contact information
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   926
		}
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   927
	} else {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   928
		var errorCode = result.ErrorCode;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   929
		var errorMessage = result.ErrorMessage;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   930
		// TODO Cannot retrieve contacts list
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   931
	}
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   932
          </content>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   933
       </item>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   934
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
   935
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   936
             description="This function can be used as a callback in GetLocation and Trace calls to location service."
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   937
             id="org.symbian.tools.wrttools.location"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   938
             label="Location callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   939
          <content>
384
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
   940
// This function can be passed as a callback to locationService.ILocation
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
   941
// GetLocation or Trace method
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   942
function locationUpdated(transactionId, code, result) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   943
	if (result.ErrorCode == 0) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   944
		var longitude = result.ReturnValue.Longitude; // Longitude estimate in degrees. The value range is [+180, -180].
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   945
		var latitude = result.ReturnValue.Latitude; // Latitude estimate in degrees. The value range is [+90, -90].
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   946
		var altitude = result.ReturnValue.Altitude; // Elevation estimate in meters relative to the WGS 84 datum.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   947
		var satelliteNumView = result.ReturnValue.SatelliteNumView; // Number of satellites currently in view.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   948
		var satelliteNumViewUsed = result.ReturnValue.SatelliteNumViewUsed; // Number of satellites used to obtain the location fix.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   949
		var horizontalSpeed = result.ReturnValue.HorizontalSpeed; // Horizontal speed estimate in meters per second. This is the speed of the device at the time the location fix was obtained.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   950
		var horizontalSpeedError = result.ReturnValue.HorizontalSpeedError; // Horizontal speed error in meters per second.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   951
		var trueCourse = result.ReturnValue.TrueCourse; // Current direction of movement in degrees in relation to true north.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   952
		var trueCourseError = result.ReturnValue.TrueCourseError; // TrueCourse error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   953
		var magneticHeading = result.ReturnValue.MagneticHeading; // Current direction of movement in degrees in relation to magnetic north.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   954
		var magneticHeadingError = result.ReturnValue.MagneticHeadingError; // MagneticHeading error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   955
		var heading = result.ReturnValue.Heading; // Current instantaneous direction of movement in degrees in relation to true north.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   956
		var headingError = result.ReturnValue.HeadingError; // Heading error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   957
		var magneticCourse = result.ReturnValue.MagneticCourse; // Current instantaneous direction of movement in degrees in relation to magnetic north.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   958
		var magneticCourseError = result.ReturnValue.MagneticCourseError; // MagneticCourse error in degrees
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   959
		// TODO Location information was received
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   960
	} else {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   961
		var errorCode = result.ErrorCode;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   962
		var errorMessage = result.ErrorMessage;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   963
		// TODO Failed to retrieve location information
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   964
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   965
}          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   966
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   967
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
   968
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   969
             description="Sends SMS message"
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   970
             id="org.symbian.tools.wrttools.dial"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   971
             label="Send SMS message">
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   972
          <content>
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   973
var phoneNumber = "+6505551214";
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   974
	var text = "Sent from WRT application";
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   975
	var messaging = device.getServiceObject("Service.Messaging", "IMessaging");
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   976
	var result = messaging.IMessaging.Send({ MessageType : "SMS", To : phoneNumber, BodyText : text });
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   977
	if (result.ErrorCode != null) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   978
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   979
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   980
		// TODO Cannot send SMS message
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   981
	}
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   982
          </content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   983
       </item>
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   984
       
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   985
       <item
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   986
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   987
             description="Use this code to track battery status"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   988
             id="org.symbian.tools.wrttools.battery"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   989
             label="Watch battery status">
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   990
          <content>
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   991
function watchBatteryNotifications() {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   992
	var sysInfo = device.getServiceObject("Service.SysInfo", "ISysInfo");
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   993
	var result = sysInfo.ISysInfo.GetNotification( {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   994
		Entity : "Battery",
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   995
		Key : "BatteryStrength"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   996
	}, batteryUpdated);
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   997
	if (result.ErrorCode == 0) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   998
		var transactionId = result.TransactionID;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   999
		// TODO Use this ID to cancel notifications
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1000
	} else {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1001
		var message = result.ErrorMessage;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1002
		// TODO Process error
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1003
	}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1004
}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1005
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1006
function batteryUpdated(tId, code, result) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1007
	if (result.ErrorCode == 0) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1008
		var batteryStatus = result.ReturnValue.Status;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1009
		// TODO Process battery charge level
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1010
	} else {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1011
		var message = result.ErrorMessage;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1012
		// TODO Process error
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1013
	}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1014
}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1015
          </content>
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1016
       </item>
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1017
       <item
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1018
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1019
             description="Use this code to track acceleration, orientation or rotation changes"
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1020
             id="org.symbian.tools.wrttools.sensor"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1021
             label="Watch sensor notifications">
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1022
          <content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1023
// Call this function to add a callback that will be notified of orientation changes
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1024
function watchSensorNotifications() {
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1025
	var sensors = device.getServiceObject("Service.Sensor", "ISensor");
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1026
	var SensorParams = {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1027
		SearchCriterion : "Orientation" // TODO Possible values (one of):
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1028
			// SearchCriterion : "All"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1029
			// SearchCriterion : "AccelerometerAxis"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1030
			// SearchCriterion : "AccelerometerDoubleTapping"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1031
			// SearchCriterion : "Rotation"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1032
	};
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1033
	var result = sensors.ISensor.FindSensorChannel(SensorParams);
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1034
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1035
	if (result.ErrorCode != 0) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1036
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1037
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1038
		// TODO Handle error
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1039
		return null;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1040
	}
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1041
    // TODO Function named "sensorCallback" will be called when device orientation changes. This function should be created. 
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1042
	var result2 = sensors.ISensor.RegisterForNotification(
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1043
			{ ChannelInfoMap : result.ReturnValue[0], 
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1044
				ListeningType : "ChannelData" }, sensorCallback);
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1045
	if (result.ErrorCode == 0) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1046
		var transactionId = result.TransactionID;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1047
		// TODO Use this transaction ID to cancel notifications when watching orientation is no longer needed
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1048
		return transactionId;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1049
	} else {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1050
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1051
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1052
		// TODO Handle error
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1053
		return null;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1054
	}
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1055
}
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1056
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1057
// This function can be passed as callback to 
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1058
// sensors.ISensor.RegisterForNotification method
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1059
function sensorCallback(transactionId, code, result) {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1060
	if (result.ErrorCode == 0) {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1061
		// TODO Process notification
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1062
		var dataType = result.ReturnValue.DataType; // One of: "AxisData", "DoubleTappingData", "OrientationData" or "RotationData"
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1063
		var orientation = result.ReturnValue.DeviceOrientation; // Orientation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1064
		// var xAxis = result.ReturnValue.XAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1065
		// var yAxis = result.ReturnValue.YAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1066
		// var zAxis = result.ReturnValue.ZAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1067
		// var direction = result.ReturnValue.DeviceDirection; // Accelerometer double tapping
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1068
		// var xRotation = result.ReturnValue.XRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1069
		// var yRotation = result.ReturnValue.YRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1070
		// var zRotation = result.ReturnValue.ZRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1071
	} else {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1072
		var errorCode = result.ErrorCode;
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1073
		var errorMessage = result.ErrorMessage;
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1074
		// TODO Handle error
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1075
	}
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1076
}
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1077
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1078
         </content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1079
       </item>
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
  1080
    </category>
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1081
    <category
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1082
          description="Snippets using PhoneGap APIs"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1083
          id="org.symbian.tools.wrttools.phonegapsnippets"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1084
          label="PhoneGap"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1085
          smallicon="icons/phonegap.png">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1086
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
  1087
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1088
             description="Accepts accerelometer data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1089
             id="org.symbian.tools.wrttools.phonegap.accererometer"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1090
             label="Accelerometer callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1091
          <content>
384
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1092
// This callback can be passed as a successCallback argument to  
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1093
// navigator.accelerometer getCurrentAcceleration and watchAcceleration methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1094
function updateAcceleration(accel) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1095
	var x = accel.x;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1096
	var y = accel.y;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1097
	var z = accel.z;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1098
	
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1099
	// TODO process the data
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1100
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1101
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1102
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1103
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
  1104
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1105
             description="Accepts contacts data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1106
             id="org.symbian.tools.wrttools.phonegap.contacts"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1107
             label="Contacts callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1108
          <content>
384
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1109
// This method can be passed as a successCallback argument to
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1110
// navigator.contacts.find method
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1111
function displayContacts(contacts) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1112
	for (var i=0; i &lt; contacts.length; i++) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1113
		var contact = contacts[i];
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1114
		var name = contact.name.formatted;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1115
		var phones = contact.name.phone; // Array of phone numbers
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1116
		var name = contact.name.address;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1117
		
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1118
		// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1119
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1120
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1121
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1122
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1123
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
  1124
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1125
             description="Accepts location data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1126
             id="org.symbian.tools.wrttools.phonegap.location"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1127
             label="Location callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1128
          <content>
384
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1129
// This method can be passed as a successCallback argument to 
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1130
// navigator.geolocation getCurrentPosition or watchPosition methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1131
function updateLocation(position) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1132
	var pt = position.coords;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1133
	var latitude = pt.latitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1134
	var longitude = pt.longitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1135
	var altitude = pt.altitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1136
	var heading = pt.heading;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1137
	var speed = pt.speed;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1138
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1139
	// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1140
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1141
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1142
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1143
       <item
385
9bf326e3aeb9 Bug 3018 - After adding a snippet the focus should be changed to the edit view
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 384
diff changeset
  1144
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1145
             description="Accepts orientation data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1146
             id="org.symbian.tools.wrttools.phonegap.orientation"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1147
             label="Orientation callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1148
          <content>
384
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1149
// This method can be passed as a successCallback argument to 
efc34c5e085b Bug 3015 - Snippets should have sufficient help to enable novice user to use the API
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 381
diff changeset
  1150
// navigator.orientation getCurrentOrientation or watchOrientation methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1151
function updateOrientation(orientation) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1152
	switch (orientation) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1153
		case DisplayOrientation.PORTRAIT: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1154
		case DisplayOrientation.REVERSE_PORTRAIT: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1155
		case DisplayOrientation.LANDSCAPE_LEFT_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1156
		case DisplayOrientation.LANDSCAPE_RIGHT_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1157
		case DisplayOrientation.FACE_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1158
		case DisplayOrientation.FACE_DOWN: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1159
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1160
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1161
	// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1162
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1163
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1164
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1165
    </category>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
  1166
 </extension>
0
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
  1167
</plugin>