org.symbian.tools.wrttools/plugin.xml
author Eugene Ostroukhov <eugeneo@symbian.org>
Wed, 30 Jun 2010 17:38:59 -0700
changeset 409 cc687be9a816
parent 401 72386743b723
child 420 716a505be7b8
permissions -rw-r--r--
WRT references were cleared from the UI
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>
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   152
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   153
      <projectTemplate
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   154
            archive="projecttemplates/flickr.zip"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   155
            default-css-name="Flickr"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   156
            default-html-name="index"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   157
            default-js-name="Flickr"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   158
            icon="icons/flickr.gif"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   159
            id-pattern="com.{0}.flickr.widget"
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   160
            name="Flickr Project"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   161
            order="2"
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   162
            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
   163
         <description>
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   164
            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
   165
         </description>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   166
         <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
   167
      </projectTemplate>
107
7dc2457b02ac Fixed bug 1652. Added new HelloWRTKit project template.
tasneems@symbian.org
parents: 102
diff changeset
   168
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   169
      <projectTemplate
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   170
            archive="projecttemplates/rssreader.zip"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   171
            default-css-name="RSSReader"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   172
            default-html-name="index"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   173
            default-js-name="RSSReader"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   174
            icon="icons/rss.gif"
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   175
            id-pattern="com.{0}.rssreader.widget"
366
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   176
            name="RSS Reader Project"
715f288b552a Bug 2779 - Better naming for Application templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 354
diff changeset
   177
            order="3"
71
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   178
            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
   179
         <description>
3b6f16a76732 More project templates were introduced. Several bugs were fixed.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 63
diff changeset
   180
            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
   181
         </description>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   182
         <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
   183
      </projectTemplate>
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   184
      <projectTemplate
388
bd7a2b98ea78 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 387
diff changeset
   185
            archive="projecttemplates/uitemplate.zip"
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   186
            default-css-name="basic"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   187
            default-html-name="index"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   188
            default-js-name="basic"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   189
            icon="icons/main16.gif"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   190
            id-pattern="com.{0}.basic.widget"
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   191
            order="4"
387
53123b7b800d Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 386
diff changeset
   192
            name="Various UI Templates">
381
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   193
         <description>
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   194
            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
   195
         </description>
8620655754e5 Bug 2923 - Add more templates for modern devices
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 376
diff changeset
   196
      </projectTemplate>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   197
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   198
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   199
<!-- Import Wizard -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   200
	<extension point="org.eclipse.ui.importWizards">
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   201
		<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
   202
		</category>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   203
		<wizard category="org.symbian.tools.wrttools.import"
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   204
			class="org.symbian.tools.wrttools.wizards.projectimport.WrtProjectsImportWizard"
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   205
			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
   206
			name="Existing Mobile Web Projects into Workspace">
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   207
     <description>
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   208
        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
   209
     </description>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   210
		</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
   211
		
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
   212
		<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
   213
          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
   214
          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
   215
          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
   216
          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
   217
          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
   218
        <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
   219
          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
   220
        </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
   221
      </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
   222
		
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   223
    </extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   224
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   225
<!-- WRT Content Descriptor (.plist) file -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   226
	<extension point="org.eclipse.core.contenttype.contentTypes">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   227
		<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
   228
			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
   229
			name="WebRuntime Descriptor File" priority="normal">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   230
		</content-type>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   231
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   232
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   233
<!-- Perspective Extensions -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   234
	<extension point="org.eclipse.ui.perspectiveExtensions">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   235
		<perspectiveExtension targetID="org.eclipse.wst.jsdt.ui.JavaPerspective">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   236
			<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   237
			</newWizardShortcut>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   238
		</perspectiveExtension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   239
		<perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   240
			<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   241
			</newWizardShortcut>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   242
		</perspectiveExtension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   243
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   244
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   245
<!-- Navigator Extensions -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   246
	<extension point="org.eclipse.ui.views">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   247
		<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
   248
			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
   249
			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
   250
			restorable="true">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   251
		</view>
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   252
		<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
   253
		</category>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   254
	</extension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   255
	<extension point="org.eclipse.ui.navigator.viewer">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   256
		<viewer viewerId="org.symbian.tools.wrttools.wrtnavigator">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   257
			<popupMenu allowsPlatformContributions="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   258
				id="org.eclipse.ui.navigator.ProjectExplorer#PopupMenu">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   259
				<insertionPoint name="group.new" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   260
				<insertionPoint name="group.open" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   261
				<insertionPoint name="group.openWith" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   262
				<insertionPoint name="group.edit" separator="true" />
48
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   263
				<insertionPoint name="group.reorganize" separator="true" />
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   264
				<insertionPoint name="group.port" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   265
				<insertionPoint name="group.build" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   266
				<insertionPoint name="group.generate" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   267
				<insertionPoint name="group.search" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   268
				<insertionPoint name="additions" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   269
				<insertionPoint name="group.properties" separator="true" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   270
			</popupMenu>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   271
		</viewer>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   272
		<viewerContentBinding viewerId="org.symbian.tools.wrttools.wrtnavigator">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   273
			<includes>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   274
				<contentExtension
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   275
          isRoot="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   276
          pattern="org.symbian.tools.wrttools.navigatorcontent"/>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   277
				<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
   278
				<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
   279
          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
   280
          pattern="org.symbian.tools.wrttools.wrtLinkHelper"/>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   281
			</includes>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   282
		</viewerContentBinding>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   283
		<viewerActionBinding viewerId="org.symbian.tools.wrttools.wrtnavigator">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   284
			<includes>
48
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   285
				<actionExtension pattern="org.eclipse.ui.navigator.resources.PortingActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   286
				<actionExtension pattern="org.eclipse.ui.navigator.resources.GotoActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   287
				<actionExtension pattern="org.eclipse.ui.navigator.resources.GoIntoActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   288
				<actionExtension pattern="org.eclipse.ui.navigator.resources.NewActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   289
				<actionExtension pattern="org.eclipse.ui.navigator.resources.PropertiesActionProvider" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   290
				<actionExtension pattern="org.eclipse.ui.navigator.resources.WorkManagementActionProvider" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   291
				<actionExtension pattern="org.eclipse.ui.navigator.resources.ResourceMgmtActions" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   292
				<actionExtension pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider" />
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   293
				<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
   294
			</includes>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   295
		</viewerActionBinding>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   296
		<dragAssistant
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   297
			class="org.eclipse.ui.navigator.resources.ResourceDragAdapterAssistant"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   298
			viewerId="org.symbian.tools.wrttools.wrtnavigator" />
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   299
	</extension>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   300
	 <extension
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   301
       point="org.eclipse.ui.navigator.navigatorContent">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   302
    <navigatorContent
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   303
          activeByDefault="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   304
          contentProvider="org.symbian.tools.wrttools.navigator.WRTNavigatorContentProvider"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   305
          icon="icons/main16.gif"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   306
          id="org.symbian.tools.wrttools.navigatorcontent"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   307
          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
   308
          name="Mobile Web"
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   309
          priority="high"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   310
          providesSaveables="false">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   311
       <triggerPoints>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   312
          <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   313
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   314
                   value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   315
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   316
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   317
                   value="org.eclipse.wst.jsdt.core.IJarEntryResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   318
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   319
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   320
                   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
   321
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   322
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   323
                   value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   324
             </instanceof>
194
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   325
             <instanceof
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   326
                   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
   327
             </instanceof>
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   328
             <adapt
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   329
                   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
   330
                <test
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   331
                      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
   332
                      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
   333
                </test>
46f0d372a45c Fixed Bug 1968 - Error Log - Cannot find navigator content extension
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 190
diff changeset
   334
             </adapt>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   335
          </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   336
       </triggerPoints>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   337
       <possibleChildren>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   338
          <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   339
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   340
                   value="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   341
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   342
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   343
                   value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   344
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   345
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   346
                   value="org.eclipse.wst.jsdt.core.IJarEntryResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   347
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   348
             <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   349
                   value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   350
             </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   351
          </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   352
       </possibleChildren>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   353
       <actionProvider
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   354
             class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorActionProvider"
48
df12256c6ad0 Several bugs were fixed
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 42
diff changeset
   355
             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
   356
       </actionProvider>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   357
       <actionProvider
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   358
             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
   359
             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
   360
             overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   361
          <enablement>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   362
             <or>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   363
                <adapt
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   364
                      type="java.util.Collection">
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   365
                   <count
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   366
                         value="0">
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   367
                   </count>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   368
                </adapt>
153
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   369
                <and>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   370
                   <or>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   371
                      <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   372
                            value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   373
                      </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   374
                      <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   375
                            value="org.eclipse.wst.jsdt.core.IJarEntryResource">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   376
                      </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   377
                   </or>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   378
                   <not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   379
                      <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   380
                            value="org.eclipse.wst.jsdt.core.ITypeRoot">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   381
                      </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   382
                   </not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   383
                </and>
126
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   384
             </or>
d496880b1e8b Added gif for importing Aptana IDE project
tasneems@symbian.org
parents: 122
diff changeset
   385
          </enablement>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   386
       </actionProvider>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   387
       <actionProvider
153
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   388
             class="org.symbian.tools.wrttools.navigator.RenameMoveActionProvider"
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   389
             id="org.symbian.wrttools.navigator.MoveRename"
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   390
             overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   391
          <enablement>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   392
             <and>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   393
                <adapt
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   394
                      type="org.eclipse.core.resources.IResource">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   395
                </adapt>
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
                   <instanceof
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   398
                         value="org.eclipse.wst.jsdt.core.IType">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   399
                   </instanceof>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   400
                </not>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   401
             </and>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   402
          </enablement>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   403
       </actionProvider>
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   404
       <actionProvider
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   405
             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
   406
             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
   407
             overrides="org.eclipse.ui.navigator.resources.OpenActions">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   408
       </actionProvider>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   409
       <override
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   410
             policy="InvokeAlwaysRegardlessOfSuppressedExt"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   411
             suppressedExtensionId="org.eclipse.ui.navigator.resourceContent">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   412
       </override>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   413
       <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
   414
             type="import"
275
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   415
             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
   416
          <enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   417
             <or>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   418
                <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   419
                      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
   420
                </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   421
                <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   422
                      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
   423
                </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   424
             </or>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   425
          </enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   426
       </commonWizard>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   427
       <commonWizard
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   428
             menuGroupId="group.new.z"
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   429
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   430
             wizardId="org.symbian.tools.wrttools.core.wrtwidgetwizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   431
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   432
             <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   433
                <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   434
                      type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   435
                </adapt>
153
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   436
                <adapt
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   437
                      type="java.util.Collection">
87faf2d4e64c Reintroduced fix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 152
diff changeset
   438
                </adapt>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   439
             </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   440
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   441
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   442
       <commonWizard
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.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard">
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
             <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   447
                   type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   448
             </adapt>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   449
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   450
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   451
       <commonWizard
275
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   452
             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
   453
             type="new"
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   454
             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
   455
          <enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   456
             <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   457
                   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
   458
             </adapt>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   459
          </enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   460
       </commonWizard>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   461
       <commonWizard
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   462
             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
   463
             type="new"
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   464
             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
   465
          <enablement>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   466
             <adapt
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   467
                   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
   468
             </adapt>
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
       </commonWizard>
12c2ea2194c7 Bug 2214 - Debugger is not updated when JS file is edited.
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 274
diff changeset
   471
       <commonWizard
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   472
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   473
             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
   474
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   475
             <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   476
                   type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   477
             </adapt>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   478
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   479
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   480
       <commonWizard
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   481
             type="new"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   482
             wizardId="org.eclipse.wst.jsdt.ui.NewJSWizard">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   483
          <enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   484
             <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   485
                   type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   486
             </adapt>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   487
          </enablement>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   488
       </commonWizard>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   489
       <commonWizard
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   490
             type="import"
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   491
             wizardId="org.symbian.tools.wrttools.import.projectImport">
38
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
             <or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   494
                <adapt
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   495
                      type="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   496
                </adapt>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   497
                <adapt
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   498
                      type="java.util.Collection">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   499
                </adapt>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   500
             </or>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   501
          </enablement>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   502
       </commonWizard>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   503
       <dropAssistant
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   504
             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
   505
             id="org.eclipse.wst.jsdt.ui.dropAssistant">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   506
          <possibleDropTargets>
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
                <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   509
                      value="org.eclipse.core.resources.IResource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   510
                </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   511
                <instanceof
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   512
                      value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   513
                </instanceof>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   514
             </or>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   515
          </possibleDropTargets>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   516
       </dropAssistant>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   517
       <commonSorter
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   518
             class="org.symbian.tools.wrttools.navigator.NavigatorSorter"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   519
             id="org.symbian.tools.wrttools.sorter">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   520
       </commonSorter>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   521
    </navigatorContent>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   522
 </extension>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   523
 <extension
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   524
       point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   525
    <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
   526
       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
   527
       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
   528
    </JsGlobalScopeContainerInitializer>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   529
 </extension>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   530
 <extension
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   531
        point="org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   532
    <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
   533
            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
   534
            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
   535
            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
   536
    </JsGlobalScopeContainerPage>    
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   537
  </extension>
98
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   538
 <extension
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   539
       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
   540
       name="WRT Application Descriptor Validator"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   541
       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
   542
    <validator
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   543
          build="true"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   544
          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
   545
          manual="true"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   546
          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
   547
          version="0.0.1">
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   548
       <include>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   549
          <rules>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   550
             <projectNature
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   551
                   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
   552
             </projectNature>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   553
          </rules>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   554
       </include>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   555
    </validator>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   556
 </extension>
183
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   557
 <extension
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   558
       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
   559
    <keyword
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   560
          id="org.symbian.tools.wrttools.wrtwords"
237
63858673b918 Bug 2086 - Review Run/Debug preferences
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 218
diff changeset
   561
          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
   562
    </keyword>
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   563
 </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
   564
 <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
   565
       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
   566
    <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
   567
          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
   568
          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
   569
       <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
   570
          <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
   571
                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
   572
          </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
   573
       </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
   574
       <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
   575
          <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
   576
             <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
   577
                   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
   578
             </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
   579
             <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
   580
                   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
   581
             </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
   582
             <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
   583
                   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
   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
          </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
   586
       </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
   587
    </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
   588
 </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
   589
 <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
   590
       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
   591
       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
   592
       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
   593
    <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
   594
          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
   595
    </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
   596
 </extension>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   597
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   598
       point="org.eclipse.ui.commands">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   599
    <category
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   600
          id="org.symbian.tools.wrttools.commands.maincategory"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   601
          name="Tools for Mobile Web">
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   602
    </category>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   603
    <command
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   604
          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
   605
          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
   606
          id="org.symbian.tools.wrttools.commands.deploy"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   607
          name="Deploy Application">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   608
    </command>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   609
    <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   610
          categoryId="org.symbian.tools.wrttools.commands.maincategory"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   611
          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
   612
          id="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   613
          name="Package Application">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   614
    </command>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   615
    <command
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   616
          categoryId="org.symbian.tools.wrttools.commands.maincategory"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   617
          defaultHandler="org.symbian.tools.wrttools.handlers.AddJSLibrary"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   618
          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
   619
          id="org.symbian.tools.wrttools.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   620
          name="Add JavaScript Libraries...">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   621
    </command>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   622
 </extension>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   623
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   624
       point="org.eclipse.ui.menus">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   625
    <menuContribution
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   626
          locationURI="toolbar:org.eclipse.ui.main.toolbar">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   627
       <toolbar
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   628
             id="org.symbian.tools.wrttools">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   629
          <command
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   630
                commandId="org.symbian.tools.wrttools.commands.deploy"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   631
                icon="icons/deploy_widget.gif"
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   632
                id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   633
          </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   634
          <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   635
                commandId="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   636
                icon="icons/package_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   637
                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
   638
          </command>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   639
       </toolbar>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   640
    </menuContribution>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   641
    <menuContribution
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   642
          locationURI="menu:project?after=additions">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   643
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   644
             name="org.symbian.tools.wrttools.beginwert"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   645
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   646
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   647
       <command
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   648
             commandId="org.symbian.tools.wrttools.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   649
             id="org.symbian.tools.wrttools.toolbars.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   650
             style="push">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   651
       </command>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   652
       <separator
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   653
             name="org.symbian.tools.wrttools.deploypackage"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   654
             visible="true">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   655
       </separator>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   656
       <command
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   657
             commandId="org.symbian.tools.wrttools.commands.deploy"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   658
             icon="icons/deploy_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   659
             id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   660
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   661
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   662
             commandId="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   663
             icon="icons/package_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   664
             id="org.symbian.tools.wrttools.toolbars.package">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   665
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   666
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   667
             name="org.symbian.tools.wrttools.endwrt"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   668
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   669
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   670
    </menuContribution>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   671
    <menuContribution
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   672
          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
   673
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   674
             name="org.symbian.tools.wrttools.beginwert"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   675
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   676
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   677
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   678
             commandId="org.symbian.tools.wrttools.commands.deploy"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   679
             icon="icons/deploy_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   680
             id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   681
          <visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   682
             <and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   683
                <iterate
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   684
                      ifEmpty="false"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   685
                      operator="and">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   686
                   <adapt
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   687
                         type="org.eclipse.core.resources.IProject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   688
                   </adapt>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   689
                </iterate>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   690
                <count
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   691
                      value="1">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   692
                </count>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   693
             </and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   694
          </visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   695
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   696
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   697
             commandId="org.symbian.tools.wrttools.commands.package"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   698
             icon="icons/package_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   699
             id="org.symbian.tools.wrttools.toolbars.package">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   700
          <visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   701
             <and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   702
                <iterate
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   703
                      ifEmpty="false"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   704
                      operator="and">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   705
                   <adapt
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   706
                         type="org.eclipse.core.resources.IProject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   707
                   </adapt>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   708
                </iterate>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   709
                <count
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   710
                      value="1">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   711
                </count>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   712
             </and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   713
          </visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   714
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   715
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   716
             name="org.symbian.tools.wrttools.endwrt"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   717
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   718
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   719
    </menuContribution>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   720
    <menuContribution
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   721
          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
   722
       <dynamic
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   723
             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
   724
             id="org.symbian.tools.wrttools.addlibrary">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   725
          <visibleWhen>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   726
             <and>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   727
                <iterate
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   728
                      ifEmpty="false"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   729
                      operator="and">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   730
                   <adapt
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   731
                         type="org.eclipse.core.resources.IProject">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   732
                      <test
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   733
                            property="org.eclipse.core.resources.projectNature"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   734
                            value="org.symbian.tools.wrttools.WidgetProjectNature">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   735
                      </test>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   736
                   </adapt>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   737
                </iterate>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   738
                <count
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   739
                      value="1">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   740
                </count>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   741
             </and>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   742
          </visibleWhen>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   743
       </dynamic>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   744
       <separator
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   745
             name="org.symbian.tools.wrttools.libs"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   746
             visible="true">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   747
       </separator>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   748
    </menuContribution>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   749
 </extension>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   750
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   751
       point="org.eclipse.ui.handlers">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   752
    <handler
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   753
          class="org.symbian.tools.wrttools.handlers.DeployHandler"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   754
          commandId="org.symbian.tools.wrttools.commands.deploy">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   755
       <enabledWhen>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   756
          <reference
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   757
                definitionId="org.symbian.tools.wrttools.symbianproject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   758
          </reference>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   759
       </enabledWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   760
    </handler>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   761
    <handler
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   762
          class="org.symbian.tools.wrttools.handlers.PackageApplicationHandler"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   763
          commandId="org.symbian.tools.wrttools.commands.package">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   764
       <enabledWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   765
          <reference
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   766
                definitionId="org.symbian.tools.wrttools.symbianproject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   767
          </reference>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   768
       </enabledWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   769
    </handler>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   770
 </extension>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   771
 <extension
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   772
       point="org.eclipse.core.expressions.definitions">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   773
    <definition
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   774
          id="org.symbian.tools.wrttools.symbianproject">
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   775
          <or>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   776
             <with
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   777
                   variable="selection">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   778
                <and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   779
                   <count
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   780
                         value="1">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   781
                   </count>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   782
                   <iterate>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   783
                      <adapt
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   784
                            type="org.eclipse.core.resources.IResource">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   785
                         <test
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   786
                               property="org.eclipse.core.resources.projectNature"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   787
                               value="org.symbian.tools.wrttools.WidgetProjectNature">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   788
                         </test>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   789
                      </adapt>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   790
                   </iterate>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   791
                </and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   792
             </with>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   793
             <and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   794
                <with
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   795
                      variable="activePart">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   796
                   <instanceof
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   797
                         value="org.eclipse.ui.IEditorPart">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   798
                   </instanceof>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   799
                </with>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   800
                <with
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   801
                      variable="activeEditorInput">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   802
                   <adapt
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   803
                         type="org.eclipse.core.resources.IResource">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   804
                   </adapt>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   805
                </with>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   806
             </and>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   807
          </or>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   808
    </definition>
282
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   809
 </extension>
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   810
 <extension
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   811
       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
   812
    <decorator
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   813
          adaptable="true"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   814
          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
   815
          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
   816
          id="org.symbian.tools.wrttools.packagingDeclarator"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   817
          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
   818
          lightweight="true"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   819
          location="TOP_RIGHT"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   820
          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
   821
          state="true">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   822
    </decorator>
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
       id="org.symbian.tools.wrttools.excluded"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   826
       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
   827
       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
   828
    <persistent
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   829
          value="true">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   830
    </persistent>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   831
 </extension>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   832
 <extension
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   833
       point="org.symbian.tools.wrttools.jsLibraries">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   834
    <library
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   835
          icon="icons/main16_prev.gif"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   836
          id="org.symbian.wrtkit"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   837
          installer="org.symbian.tools.wrttools.core.libraries.WRTKitInstaller"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   838
          name="WRTKit">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   839
    </library>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   840
    <library
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   841
          icon="icons/phonegap.png"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   842
          id="phonegap"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   843
          installer="org.symbian.tools.wrttools.core.libraries.PhoneGapInstaller"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   844
          name="PhoneGap">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   845
    </library>
319
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   846
 </extension>
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   847
 <extension
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   848
       id="org.symbian.tools.wrttools.phonegap"
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   849
       name="PhoneGap Library Support"
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   850
       point="org.eclipse.wst.jsdt.core.inferrenceSupport">
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   851
    <inferenceProvider
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   852
          class="org.symbian.tools.wrttools.core.libraries.jsdt.PhoneGapInferrenceProvider">
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   853
    </inferenceProvider>
348
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   854
 </extension>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   855
 <extension
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   856
       point="org.eclipse.ltk.core.refactoring.renameParticipants">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   857
    <renameParticipant
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   858
          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
   859
          id="org.symbian.tools.wrttools.renameParticipant1"
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   860
          name="WRT Projects Rename Participant">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   861
    <enablement>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   862
      <with variable="affectedNatures">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   863
        <iterate operator="or">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   864
          <equals value="org.symbian.tools.wrttools.WidgetProjectNature"/>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   865
        </iterate>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   866
      </with>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   867
      <with variable="element">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   868
         <adapt
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   869
               type="org.eclipse.core.resources.IProject">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   870
         </adapt>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   871
        
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   872
      </with>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   873
    </enablement>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   874
          
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   875
    </renameParticipant>
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   876
 </extension>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   877
 <extension
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   878
       point="org.eclipse.ui.editors.templates">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   879
    <include
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   880
          file="templates/default-templates.xml">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   881
    </include>
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   882
 </extension>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   883
 <extension
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   884
       point="org.eclipse.wst.common.snippets.SnippetContributions">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   885
    <category
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   886
          description="WRT-specific JavaScript snippets"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   887
          id="org.symbian.tools.wrttools.wrtsnippets"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   888
          label="Symbian Web Runtime"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   889
          smallicon="icons/main16.gif"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   890
          contenttypes="org.eclipse.wst.jsdt.core.jsSource">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   891
       <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
   892
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   893
             description="Retrieves list of the contacts"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   894
             id="org.symbian.tools.wrttools.contacts"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   895
             label="Get contacts">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   896
          <content>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   897
var contactService = device.getServiceObject("Service.Contact",
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   898
			"IDataSource");
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   899
	var result = contactService.IDataSource.GetList(
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   900
			{ Type : "Contact", Sort : { Order : "Ascending" } }
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   901
			);
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   902
	if (result.ErrorCode == 0) {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   903
		var contacts = result.ReturnValue;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   904
		for ( var contact = contacts.getNext(); contact != null; contact = contacts.getNext()) {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   905
			var firstName = contact.FirstName;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   906
			var lastName = contact.LastName;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   907
			var mobile = contact.MobilePhoneGen;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   908
			var landPhone = contact.LandPhoneGen;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   909
			var jobTitle = contact.JobTitle;
374
92f6ae438d71 Strings updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
   910
			// Consult WRT documentation for other possible fields
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   911
			// TODO Process contact information
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   912
		}
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   913
	} else {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   914
		var errorCode = result.ErrorCode;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   915
		var errorMessage = result.ErrorMessage;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   916
		// TODO Cannot retrieve contacts list
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   917
	}
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   918
          </content>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   919
       </item>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   920
       <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
   921
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   922
             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
   923
             id="org.symbian.tools.wrttools.location"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   924
             label="Location callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   925
          <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
   926
// 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
   927
// GetLocation or Trace method
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   928
function locationUpdated(transactionId, code, result) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   929
	if (result.ErrorCode == 0) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   930
		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
   931
		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
   932
		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
   933
		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
   934
		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
   935
		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
   936
		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
   937
		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
   938
		var trueCourseError = result.ReturnValue.TrueCourseError; // TrueCourse error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   939
		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
   940
		var magneticHeadingError = result.ReturnValue.MagneticHeadingError; // MagneticHeading error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   941
		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
   942
		var headingError = result.ReturnValue.HeadingError; // Heading error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   943
		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
   944
		var magneticCourseError = result.ReturnValue.MagneticCourseError; // MagneticCourse error in degrees
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   945
		// TODO Location information was received
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   946
	} else {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   947
		var errorCode = result.ErrorCode;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   948
		var errorMessage = result.ErrorMessage;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   949
		// TODO Failed to retrieve location information
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   950
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   951
}          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   952
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   953
       <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
   954
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   955
             description="Sends SMS message"
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   956
             id="org.symbian.tools.wrttools.dial"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   957
             label="Send SMS message">
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   958
          <content>
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   959
var phoneNumber = "+6505551214";
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   960
	var text = "Sent from WRT application";
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   961
	var messaging = device.getServiceObject("Service.Messaging", "IMessaging");
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   962
	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
   963
	if (result.ErrorCode != null) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   964
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   965
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   966
		// TODO Cannot send SMS message
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   967
	}
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   968
          </content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   969
       </item>
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   970
       
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   971
       <item
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   972
             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
   973
             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
   974
             id="org.symbian.tools.wrttools.battery"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   975
             label="Watch battery status">
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   976
          <content>
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   977
function watchBatteryNotifications() {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   978
	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
   979
	var result = sysInfo.ISysInfo.GetNotification( {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   980
		Entity : "Battery",
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   981
		Key : "BatteryStrength"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   982
	}, batteryUpdated);
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   983
	if (result.ErrorCode == 0) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   984
		var transactionId = result.TransactionID;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   985
		// 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
   986
	} else {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   987
		var message = result.ErrorMessage;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   988
		// TODO Process error
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   989
	}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   990
}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   991
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   992
function batteryUpdated(tId, code, result) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   993
	if (result.ErrorCode == 0) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   994
		var batteryStatus = result.ReturnValue.Status;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   995
		// TODO Process battery charge level
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   996
	} else {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   997
		var message = result.ErrorMessage;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   998
		// TODO Process error
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   999
	}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1000
}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1001
          </content>
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
  1002
       </item>
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1003
       <item
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1004
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1005
             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
  1006
             id="org.symbian.tools.wrttools.sensor"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1007
             label="Watch sensor notifications">
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1008
          <content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1009
// 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
  1010
function watchSensorNotifications() {
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1011
	var sensors = device.getServiceObject("Service.Sensor", "ISensor");
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1012
	var SensorParams = {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1013
		SearchCriterion : "Orientation" // TODO Possible values (one of):
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1014
			// SearchCriterion : "All"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1015
			// SearchCriterion : "AccelerometerAxis"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1016
			// SearchCriterion : "AccelerometerDoubleTapping"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1017
			// SearchCriterion : "Rotation"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1018
	};
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1019
	var result = sensors.ISensor.FindSensorChannel(SensorParams);
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1020
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1021
	if (result.ErrorCode != 0) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1022
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1023
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1024
		// TODO Handle error
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1025
		return null;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1026
	}
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1027
    // 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
  1028
	var result2 = sensors.ISensor.RegisterForNotification(
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1029
			{ ChannelInfoMap : result.ReturnValue[0], 
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1030
				ListeningType : "ChannelData" }, sensorCallback);
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1031
	if (result.ErrorCode == 0) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1032
		var transactionId = result.TransactionID;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1033
		// 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
  1034
		return transactionId;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1035
	} else {
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
	}
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1041
}
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1042
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1043
// This function can be passed as callback to 
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1044
// sensors.ISensor.RegisterForNotification method
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1045
function sensorCallback(transactionId, code, result) {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1046
	if (result.ErrorCode == 0) {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1047
		// TODO Process notification
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1048
		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
  1049
		var orientation = result.ReturnValue.DeviceOrientation; // Orientation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1050
		// var xAxis = result.ReturnValue.XAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1051
		// var yAxis = result.ReturnValue.YAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1052
		// var zAxis = result.ReturnValue.ZAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1053
		// var direction = result.ReturnValue.DeviceDirection; // Accelerometer double tapping
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1054
		// var xRotation = result.ReturnValue.XRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1055
		// var yRotation = result.ReturnValue.YRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1056
		// var zRotation = result.ReturnValue.ZRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1057
	} else {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1058
		var errorCode = result.ErrorCode;
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1059
		var errorMessage = result.ErrorMessage;
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1060
		// TODO Handle error
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1061
	}
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1062
}
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
  1063
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1064
         </content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
  1065
       </item>
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
  1066
    </category>
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1067
    <category
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1068
          description="Snippets using PhoneGap APIs"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1069
          id="org.symbian.tools.wrttools.phonegapsnippets"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1070
          label="PhoneGap"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1071
          smallicon="icons/phonegap.png">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1072
       <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
  1073
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1074
             description="Accepts accerelometer data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1075
             id="org.symbian.tools.wrttools.phonegap.accererometer"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1076
             label="Accelerometer callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1077
          <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
  1078
// 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
  1079
// navigator.accelerometer getCurrentAcceleration and watchAcceleration methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1080
function updateAcceleration(accel) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1081
	var x = accel.x;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1082
	var y = accel.y;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1083
	var z = accel.z;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1084
	
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1085
	// TODO process the data
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1086
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1087
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1088
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1089
       <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
  1090
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1091
             description="Accepts contacts data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1092
             id="org.symbian.tools.wrttools.phonegap.contacts"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1093
             label="Contacts callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1094
          <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
  1095
// 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
  1096
// navigator.contacts.find method
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1097
function displayContacts(contacts) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1098
	for (var i=0; i &lt; contacts.length; i++) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1099
		var contact = contacts[i];
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1100
		var name = contact.name.formatted;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1101
		var phones = contact.name.phone; // Array of phone numbers
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1102
		var name = contact.name.address;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1103
		
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1104
		// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1105
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1106
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1107
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1108
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1109
       <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
  1110
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1111
             description="Accepts location data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1112
             id="org.symbian.tools.wrttools.phonegap.location"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1113
             label="Location callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1114
          <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
  1115
// 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
  1116
// navigator.geolocation getCurrentPosition or watchPosition methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1117
function updateLocation(position) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1118
	var pt = position.coords;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1119
	var latitude = pt.latitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1120
	var longitude = pt.longitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1121
	var altitude = pt.altitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1122
	var heading = pt.heading;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1123
	var speed = pt.speed;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1124
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1125
	// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1126
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1127
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1128
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1129
       <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
  1130
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1131
             description="Accepts orientation data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1132
             id="org.symbian.tools.wrttools.phonegap.orientation"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1133
             label="Orientation callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1134
          <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
  1135
// 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
  1136
// navigator.orientation getCurrentOrientation or watchOrientation methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1137
function updateOrientation(orientation) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1138
	switch (orientation) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1139
		case DisplayOrientation.PORTRAIT: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1140
		case DisplayOrientation.REVERSE_PORTRAIT: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1141
		case DisplayOrientation.LANDSCAPE_LEFT_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1142
		case DisplayOrientation.LANDSCAPE_RIGHT_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1143
		case DisplayOrientation.FACE_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1144
		case DisplayOrientation.FACE_DOWN: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1145
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1146
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1147
	// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1148
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1149
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1150
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
  1151
    </category>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
  1152
 </extension>
0
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
  1153
</plugin>