plugins/org.symbian.tools.wrttools/plugin.xml
author Eugene Ostroukhov <eugeneo@symbian.org>
Tue, 31 Aug 2010 15:21:04 -0700
changeset 480 b6d992b9b998
parent 479 518afa7c6d2f
child 481 e908ec135fa1
permissions -rw-r--r--
Bugfixes
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>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
     4
   <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
     5
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     6
<!-- Generic Project Builder and Project Natures  -->		
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     7
 	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     8
<!-- Widget Project Nature -->	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
     9
 <extension
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    10
       id="WidgetProjectNature"
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    11
       point="org.eclipse.core.resources.natures">
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    12
    <runtime>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    13
       <run class="org.symbian.tools.wrttools.WidgetProjectNature"/>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    14
    </runtime>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    15
 </extension> 
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    16
 
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    17
<!-- Widget Project Nature Images -->
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    18
        <extension
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    19
              point="org.eclipse.ui.ide.projectNatureImages">
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    20
           <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
    21
                 icon="icons/WRT_main_16.png"
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    22
                 id="org.symbian.tools.wrttools.natureImage"
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    23
                 natureId="org.symbian.tools.wrttools.WidgetProjectNature">
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    24
           </image>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    25
        </extension>
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    26
        
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    27
<!-- Web Runtime Preferences --> 
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    28
 <extension
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    29
    point="org.eclipse.core.runtime.preferences">
190
13a34213b146 Fixed Bug 1953 - Import File Browse Doesn't remember last directory
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 183
diff changeset
    30
    <initializer
13a34213b146 Fixed Bug 1953 - Import File Browse Doesn't remember last directory
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 183
diff changeset
    31
          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
    32
    </initializer>
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    33
 </extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    34
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    35
<!-- 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
    36
 <extension	
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    37
          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
    38
      <objectContribution
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    39
            objectClass="org.eclipse.core.resources.IResource"            
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    40
            id="org.symbian.tools.wrttools.widget.wrttool.packageoptions">
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    41
         <visibility>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    42
            <not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    43
               <or>
248
039260aebcb6 Fixed 2163: Cannot include file into WGZ archive
tasneems@symbian.org
parents: 247
diff changeset
    44
               <objectState name="persistentProperty" value="org.symbian.tools.wrttools.core.packager.exclude"/>
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    45
			   <objectState name="extension" value="plist"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    46
			   <objectClass name="org.eclipse.core.resources.IProject"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    47
			   </or>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    48
            </not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    49
         </visibility>
145
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    50
     	 <filter
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    51
         	name="projectNature"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    52
         	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
    53
         <action
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    54
             class="org.symbian.tools.wrttools.core.packager.ExcludeFileAction"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    55
             icon="icons/exclude_archive.gif"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    56
             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
    57
             label="Exclude From Archive"
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    58
             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
    59
         </action>  
19985c154f5c Merged. Added deployment. Fixed developer experience. Added about.ini, about.properties.
tasneems@symbian.org
parents: 141
diff changeset
    60
      </objectContribution>    
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    61
      <objectContribution
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    62
            objectClass="org.eclipse.core.resources.IResource"            
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    63
            id="org.symbian.tools.wrttools.widget.wrttool.packageoptions">
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    64
      <visibility>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    65
        <and>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    66
	        <not>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    67
	        	<objectState name="extension" value="wgz"/>
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
	        <and>
248
039260aebcb6 Fixed 2163: Cannot include file into WGZ archive
tasneems@symbian.org
parents: 247
diff changeset
    70
	        	<objectState name="persistentProperty" value="org.symbian.tools.wrttools.core.packager.exclude"/>
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    71
	        	<objectState name="projectNature" value="org.symbian.tools.wrttools.WidgetProjectNature"/>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    72
	        </and>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    73
        </and>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    74
       </visibility>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    75
       <action
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    76
             class="org.symbian.tools.wrttools.core.packager.IncludeFileAction"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    77
             icon="icons/include_archive.gif"
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    78
             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
    79
             label="Include in Archive"
74
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    80
             menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> 
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    81
      </action>  
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    82
    </objectContribution>
1f72e81a1aa7 Added WRT packaging
tasneems@symbian.org
parents: 71
diff changeset
    83
   </extension>  
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
    84
375
d1edab2715d4 plugin.xml cleanup
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 374
diff changeset
    85
<!-- CSS Validator -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    86
	<extension id="org.symbian.tools.wrttools.core.cssvalidator"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    87
		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
    88
		<validator build="true"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    89
			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
    90
			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
    91
			version="0.0.1">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    92
			<include>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    93
				<rules>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    94
					<contentType exactMatch="false"
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    95
						id="org.eclipse.wst.css.core.csssource">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    96
					</contentType>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    97
				</rules>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    98
			</include>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
    99
		</validator>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   100
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   101
	 
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   102
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   103
<!-- WRT Project Templates -->
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   104
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   105
<!-- Import Wizard -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   106
	<extension point="org.eclipse.ui.importWizards">
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   107
		<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
   108
		</category>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   109
		<wizard category="org.symbian.tools.wrttools.import"
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   110
			class="org.symbian.tools.wrttools.wizards.projectimport.WrtProjectsImportWizard"
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   111
			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
   112
			name="Existing Mobile Web Projects into Workspace">
203
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   113
     <description>
bb3a18c4e037 Refactoring, some messages were updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 200
diff changeset
   114
        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
   115
     </description>
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   116
		</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
   117
		
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
   118
		<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
   119
          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
   120
          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
   121
          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
   122
          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
   123
          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
   124
        <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
   125
          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
   126
        </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
   127
      </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
   128
		
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   129
    </extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   130
	
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   131
<!-- WRT Content Descriptor (.plist) file -->
38
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   132
	<extension point="org.eclipse.core.contenttype.contentTypes">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   133
		<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
   134
			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
   135
			name="WebRuntime Descriptor File" priority="normal">
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   136
		</content-type>
954dbf7baac6 Merged with the most current version
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 31
diff changeset
   137
	</extension>
50
0560e98b9bf6 Added widget project nature and WRT validators
tasneems@symbian.org
parents: 42
diff changeset
   138
	
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   139
 <extension
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   140
       point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   141
    <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
   142
       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
   143
       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
   144
    </JsGlobalScopeContainerInitializer>
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   145
 </extension>
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   146
 <extension
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   147
        point="org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage">
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   148
    <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
   149
            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
   150
            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
   151
            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
   152
    </JsGlobalScopeContainerPage>    
84
b24e6a27768d Integrating WRTKit libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 74
diff changeset
   153
  </extension>
98
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   154
 <extension
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   155
       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
   156
       name="WRT Application Descriptor Validator"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   157
       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
   158
    <validator
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   159
          build="true"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   160
          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
   161
          manual="true"
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   162
          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
   163
          version="0.0.1">
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   164
       <include>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   165
          <rules>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   166
             <projectNature
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   167
                   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
   168
             </projectNature>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   169
          </rules>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   170
       </include>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   171
    </validator>
b6d252d808df Nokia validation code is now integrated with WTP framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 84
diff changeset
   172
 </extension>
183
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   173
 <extension
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   174
       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
   175
    <keyword
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   176
          id="org.symbian.tools.wrttools.wrtwords"
237
63858673b918 Bug 2086 - Review Run/Debug preferences
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 218
diff changeset
   177
          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
   178
    </keyword>
c39bca475a90 Fixed Bug 1964 - Deployment preference page is in the wrong category
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 168
diff changeset
   179
 </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
   180
 <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
   181
       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
   182
       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
   183
       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
   184
    <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
   185
          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
   186
    </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
   187
 </extension>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   188
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   189
       point="org.eclipse.ui.commands">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   190
    <category
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   191
          id="org.symbian.tools.wrttools.commands.maincategory"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   192
          name="Tools for Mobile Web">
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   193
    </category>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   194
    <command
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   195
          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
   196
          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
   197
          id="org.symbian.tools.wrttools.commands.deploy"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   198
          name="Deploy Application">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   199
    </command>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   200
    <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   201
          categoryId="org.symbian.tools.wrttools.commands.maincategory"
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   202
          defaultHandler="org.symbian.tools.wrttools.handlers.AddJSLibrary"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   203
          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
   204
          id="org.symbian.tools.wrttools.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   205
          name="Add JavaScript Libraries...">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   206
    </command>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   207
 </extension>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   208
 <extension
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   209
       point="org.eclipse.ui.menus">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   210
    <menuContribution
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   211
          locationURI="toolbar:org.eclipse.ui.main.toolbar">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   212
       <toolbar
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   213
             id="org.symbian.tools.wrttools">
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   214
          <command
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   215
                commandId="org.symbian.tools.wrttools.commands.deploy"
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   216
                icon="icons/deploy_widget.gif"
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   217
                id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   218
          </command>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   219
       </toolbar>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   220
    </menuContribution>
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   221
    <menuContribution
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   222
          locationURI="menu:project?after=additions">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   223
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   224
             name="org.symbian.tools.wrttools.beginwert"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   225
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   226
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   227
       <command
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   228
             commandId="org.symbian.tools.wrttools.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   229
             id="org.symbian.tools.wrttools.toolbars.addlibrary"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   230
             style="push">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   231
       </command>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   232
       <separator
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   233
             name="org.symbian.tools.wrttools.deploypackage"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   234
             visible="true">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   235
       </separator>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   236
       <command
281
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   237
             commandId="org.symbian.tools.wrttools.commands.deploy"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   238
             icon="icons/deploy_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   239
             id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   240
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   241
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   242
             name="org.symbian.tools.wrttools.endwrt"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   243
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   244
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   245
    </menuContribution>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   246
    <menuContribution
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   247
          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
   248
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   249
             name="org.symbian.tools.wrttools.beginwert"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   250
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   251
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   252
       <command
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   253
             commandId="org.symbian.tools.wrttools.commands.deploy"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   254
             icon="icons/deploy_widget.gif"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   255
             id="org.symbian.tools.wrttools.toolbars.deploy">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   256
          <visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   257
             <and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   258
                <iterate
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   259
                      ifEmpty="false"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   260
                      operator="and">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   261
                   <adapt
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   262
                         type="org.eclipse.core.resources.IProject">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   263
                   </adapt>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   264
                </iterate>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   265
                <count
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   266
                      value="1">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   267
                </count>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   268
             </and>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   269
          </visibleWhen>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   270
       </command>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   271
       <separator
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   272
             name="org.symbian.tools.wrttools.endwrt"
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   273
             visible="true">
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   274
       </separator>
c4e6bebd078c Bug 2306 - Synchronize Package and Deployment Options
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 275
diff changeset
   275
    </menuContribution>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   276
    <menuContribution
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   277
          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
   278
       <dynamic
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   279
             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
   280
             id="org.symbian.tools.wrttools.addlibrary">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   281
          <visibleWhen>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   282
             <and>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   283
                <iterate
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   284
                      ifEmpty="false"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   285
                      operator="and">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   286
                   <adapt
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   287
                         type="org.eclipse.core.resources.IProject">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   288
                      <test
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   289
                            property="org.eclipse.core.resources.projectNature"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   290
                            value="org.symbian.tools.wrttools.WidgetProjectNature">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   291
                      </test>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   292
                   </adapt>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   293
                </iterate>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   294
                <count
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   295
                      value="1">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   296
                </count>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   297
             </and>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   298
          </visibleWhen>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   299
       </dynamic>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   300
       <separator
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   301
             name="org.symbian.tools.wrttools.libs"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   302
             visible="true">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   303
       </separator>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   304
    </menuContribution>
263
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   305
 </extension>
0c4249e0396d Bug 2068 - Improve packaging and deployment usability
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 260
diff changeset
   306
 <extension
282
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   307
       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
   308
    <decorator
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   309
          adaptable="true"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   310
          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
   311
          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
   312
          id="org.symbian.tools.wrttools.packagingDeclarator"
409
cc687be9a816 WRT references were cleared from the UI
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 401
diff changeset
   313
          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
   314
          lightweight="true"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   315
          location="TOP_RIGHT"
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   316
          state="true">
454
38d6944cff88 Bug 3352 - Replace our Navigator View with the JSDT one
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 448
diff changeset
   317
       <enablement>
38d6944cff88 Bug 3352 - Replace our Navigator View with the JSDT one
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 448
diff changeset
   318
       	<objectClass
38d6944cff88 Bug 3352 - Replace our Navigator View with the JSDT one
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 448
diff changeset
   319
              name="org.eclipse.core.resources.IResource">
38d6944cff88 Bug 3352 - Replace our Navigator View with the JSDT one
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 448
diff changeset
   320
       	</objectClass>
38d6944cff88 Bug 3352 - Replace our Navigator View with the JSDT one
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 448
diff changeset
   321
       </enablement>
282
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   322
    </decorator>
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   323
 </extension>
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   324
 <extension
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   325
       id="org.symbian.tools.wrttools.excluded"
401
72386743b723 Improve TMW messages - bug 3121
Paul Beusterien <paulb@symbian.org>
parents: 397
diff changeset
   326
       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
   327
       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
   328
    <persistent
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   329
          value="true">
39bbb3a15d6f Bug 2341 - Files excluded from widget archive are not clearly marked
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 281
diff changeset
   330
    </persistent>
310
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   331
 </extension>
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   332
 <extension
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   333
       point="org.symbian.tools.wrttools.jsLibraries">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   334
    <library
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   335
          icon="icons/phonegap.png"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   336
          id="phonegap"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   337
          installer="org.symbian.tools.wrttools.core.libraries.PhoneGapInstaller"
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   338
          name="PhoneGap">
e9484be98cfe UI to add libraries was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 309
diff changeset
   339
    </library>
319
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   340
 </extension>
40387cc658b4 PhoneGap support work in progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 310
diff changeset
   341
 <extension
348
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   342
       point="org.eclipse.ltk.core.refactoring.renameParticipants">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   343
    <renameParticipant
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   344
          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
   345
          id="org.symbian.tools.wrttools.renameParticipant1"
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   346
          name="WRT Projects Rename Participant">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   347
    <enablement>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   348
      <with variable="affectedNatures">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   349
        <iterate operator="or">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   350
          <equals value="org.symbian.tools.wrttools.WidgetProjectNature"/>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   351
        </iterate>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   352
      </with>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   353
      <with variable="element">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   354
         <adapt
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   355
               type="org.eclipse.core.resources.IProject">
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   356
         </adapt>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   357
      </with>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   358
    </enablement>
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   359
          
4cd68ab4c1f2 Bug 2534 - Project rename isn't complete
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 319
diff changeset
   360
    </renameParticipant>
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   361
 </extension>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   362
 <extension
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   363
       point="org.eclipse.ui.editors.templates">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   364
    <include
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   365
          file="templates/default-templates.xml">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 366
diff changeset
   366
    </include>
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   367
 </extension>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   368
 <extension
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   369
       point="org.eclipse.wst.common.snippets.SnippetContributions">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   370
    <category
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   371
          description="WRT-specific JavaScript snippets"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   372
          id="org.symbian.tools.wrttools.wrtsnippets"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   373
          label="Symbian Web Runtime"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   374
          smallicon="icons/main16.gif"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   375
          contenttypes="org.eclipse.wst.jsdt.core.jsSource">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   376
       <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
   377
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   378
             description="Retrieves list of the contacts"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   379
             id="org.symbian.tools.wrttools.contacts"
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   380
             label="Get contacts">
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   381
          <content>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   382
var contactService = device.getServiceObject("Service.Contact",
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   383
			"IDataSource");
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   384
	var result = contactService.IDataSource.GetList(
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   385
			{ Type : "Contact", Sort : { Order : "Ascending" } }
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   386
			);
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   387
	if (result.ErrorCode == 0) {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   388
		var contacts = result.ReturnValue;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   389
		for ( var contact = contacts.getNext(); contact != null; contact = contacts.getNext()) {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   390
			var firstName = contact.FirstName;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   391
			var lastName = contact.LastName;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   392
			var mobile = contact.MobilePhoneGen;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   393
			var landPhone = contact.LandPhoneGen;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   394
			var jobTitle = contact.JobTitle;
374
92f6ae438d71 Strings updated
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
   395
			// Consult WRT documentation for other possible fields
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   396
			// TODO Process contact information
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   397
		}
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   398
	} else {
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   399
		var errorCode = result.ErrorCode;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   400
		var errorMessage = result.ErrorMessage;
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   401
		// TODO Cannot retrieve contacts list
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   402
	}
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   403
          </content>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   404
       </item>
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   405
       <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
   406
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   407
             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
   408
             id="org.symbian.tools.wrttools.location"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   409
             label="Location callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   410
          <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
   411
// 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
   412
// GetLocation or Trace method
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   413
function locationUpdated(transactionId, code, result) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   414
	if (result.ErrorCode == 0) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   415
		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
   416
		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
   417
		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
   418
		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
   419
		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
   420
		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
   421
		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
   422
		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
   423
		var trueCourseError = result.ReturnValue.TrueCourseError; // TrueCourse error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   424
		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
   425
		var magneticHeadingError = result.ReturnValue.MagneticHeadingError; // MagneticHeading error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   426
		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
   427
		var headingError = result.ReturnValue.HeadingError; // Heading error in degrees.
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   428
		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
   429
		var magneticCourseError = result.ReturnValue.MagneticCourseError; // MagneticCourse error in degrees
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   430
		// TODO Location information was received
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   431
	} else {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   432
		var errorCode = result.ErrorCode;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   433
		var errorMessage = result.ErrorMessage;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   434
		// TODO Failed to retrieve location information
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   435
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   436
}          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   437
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   438
       <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
   439
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   440
             description="Sends SMS message"
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   441
             id="org.symbian.tools.wrttools.dial"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   442
             label="Send SMS message">
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   443
          <content>
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   444
var phoneNumber = "+6505551214";
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   445
	var text = "Sent from WRT application";
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   446
	var messaging = device.getServiceObject("Service.Messaging", "IMessaging");
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   447
	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
   448
	if (result.ErrorCode != null) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   449
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   450
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   451
		// TODO Cannot send SMS message
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   452
	}
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   453
          </content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   454
       </item>
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   455
       
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   456
       <item
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   457
             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
   458
             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
   459
             id="org.symbian.tools.wrttools.battery"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   460
             label="Watch battery status">
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   461
          <content>
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   462
function watchBatteryNotifications() {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   463
	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
   464
	var result = sysInfo.ISysInfo.GetNotification( {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   465
		Entity : "Battery",
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   466
		Key : "BatteryStrength"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   467
	}, batteryUpdated);
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   468
	if (result.ErrorCode == 0) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   469
		var transactionId = result.TransactionID;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   470
		// 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
   471
	} else {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   472
		var message = result.ErrorMessage;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   473
		// TODO Process error
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   474
	}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   475
}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   476
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   477
function batteryUpdated(tId, code, result) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   478
	if (result.ErrorCode == 0) {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   479
		var batteryStatus = result.ReturnValue.Status;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   480
		// TODO Process battery charge level
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   481
	} else {
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   482
		var message = result.ErrorMessage;
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   483
		// TODO Process error
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   484
	}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   485
}
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   486
          </content>
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 389
diff changeset
   487
       </item>
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   488
       <item
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   489
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   490
             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
   491
             id="org.symbian.tools.wrttools.sensor"
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   492
             label="Watch sensor notifications">
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   493
          <content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   494
// 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
   495
function watchSensorNotifications() {
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   496
	var sensors = device.getServiceObject("Service.Sensor", "ISensor");
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   497
	var SensorParams = {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   498
		SearchCriterion : "Orientation" // TODO Possible values (one of):
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   499
			// SearchCriterion : "All"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   500
			// SearchCriterion : "AccelerometerAxis"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   501
			// SearchCriterion : "AccelerometerDoubleTapping"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   502
			// SearchCriterion : "Rotation"
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   503
	};
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   504
	var result = sensors.ISensor.FindSensorChannel(SensorParams);
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   505
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   506
	if (result.ErrorCode != 0) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   507
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   508
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   509
		// TODO Handle error
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   510
		return null;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   511
	}
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   512
    // 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
   513
	var result2 = sensors.ISensor.RegisterForNotification(
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   514
			{ ChannelInfoMap : result.ReturnValue[0], 
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   515
				ListeningType : "ChannelData" }, sensorCallback);
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   516
	if (result.ErrorCode == 0) {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   517
		var transactionId = result.TransactionID;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   518
		// 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
   519
		return transactionId;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   520
	} else {
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   521
		var errorCode = result.ErrorCode;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   522
		var errorMessage = result.ErrorMessage;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   523
		// TODO Handle error
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   524
		return null;
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   525
	}
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   526
}
389
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   527
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   528
// This function can be passed as callback to 
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   529
// sensors.ISensor.RegisterForNotification method
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   530
function sensorCallback(transactionId, code, result) {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   531
	if (result.ErrorCode == 0) {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   532
		// TODO Process notification
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   533
		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
   534
		var orientation = result.ReturnValue.DeviceOrientation; // Orientation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   535
		// var xAxis = result.ReturnValue.XAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   536
		// var yAxis = result.ReturnValue.YAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   537
		// var zAxis = result.ReturnValue.ZAxisData; // Accelerometer
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   538
		// var direction = result.ReturnValue.DeviceDirection; // Accelerometer double tapping
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   539
		// var xRotation = result.ReturnValue.XRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   540
		// var yRotation = result.ReturnValue.YRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   541
		// var zRotation = result.ReturnValue.ZRotation; // Rotation
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   542
	} else {
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   543
		var errorCode = result.ErrorCode;
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   544
		var errorMessage = result.ErrorMessage;
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   545
		// TODO Handle error
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   546
	}
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   547
}
5a72e60dea8b Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 388
diff changeset
   548
386
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   549
         </content>
7d0a718a6346 Bug 3019 - Register orientation callback problems
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 385
diff changeset
   550
       </item>
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
   551
    </category>
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   552
    <category
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   553
          description="Snippets using PhoneGap APIs"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   554
          id="org.symbian.tools.wrttools.phonegapsnippets"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   555
          label="PhoneGap"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   556
          smallicon="icons/phonegap.png">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   557
       <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
   558
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   559
             description="Accepts accerelometer data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   560
             id="org.symbian.tools.wrttools.phonegap.accererometer"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   561
             label="Accelerometer callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   562
          <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
   563
// 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
   564
// navigator.accelerometer getCurrentAcceleration and watchAcceleration methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   565
function updateAcceleration(accel) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   566
	var x = accel.x;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   567
	var y = accel.y;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   568
	var z = accel.z;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   569
	
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   570
	// TODO process the data
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   571
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   572
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   573
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   574
       <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
   575
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   576
             description="Accepts contacts data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   577
             id="org.symbian.tools.wrttools.phonegap.contacts"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   578
             label="Contacts callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   579
          <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
   580
// 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
   581
// navigator.contacts.find method
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   582
function displayContacts(contacts) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   583
	for (var i=0; i &lt; contacts.length; i++) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   584
		var contact = contacts[i];
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   585
		var name = contact.name.formatted;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   586
		var phones = contact.name.phone; // Array of phone numbers
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   587
		var name = contact.name.address;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   588
		
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   589
		// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   590
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   591
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   592
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   593
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   594
       <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
   595
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   596
             description="Accepts location data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   597
             id="org.symbian.tools.wrttools.phonegap.location"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   598
             label="Location callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   599
          <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
   600
// 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
   601
// navigator.geolocation getCurrentPosition or watchPosition methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   602
function updateLocation(position) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   603
	var pt = position.coords;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   604
	var latitude = pt.latitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   605
	var longitude = pt.longitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   606
	var altitude = pt.altitude;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   607
	var heading = pt.heading;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   608
	var speed = pt.speed;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   609
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   610
	// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   611
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   612
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   613
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   614
       <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
   615
             class="org.symbian.tools.wrttools.util.SnippetInsertion"
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   616
             description="Accepts orientation data"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   617
             id="org.symbian.tools.wrttools.phonegap.orientation"
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   618
             label="Orientation callback">
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   619
          <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
   620
// 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
   621
// navigator.orientation getCurrentOrientation or watchOrientation methods
376
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   622
function updateOrientation(orientation) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   623
	switch (orientation) {
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   624
		case DisplayOrientation.PORTRAIT: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   625
		case DisplayOrientation.REVERSE_PORTRAIT: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   626
		case DisplayOrientation.LANDSCAPE_LEFT_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   627
		case DisplayOrientation.LANDSCAPE_RIGHT_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   628
		case DisplayOrientation.FACE_UP: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   629
		case DisplayOrientation.FACE_DOWN: break;
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   630
	}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   631
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   632
	// TODO Insert your code here
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   633
}
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   634
          </content>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   635
       </item>
5027709c9315 PhoneGap snippets and minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 375
diff changeset
   636
    </category>
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   637
 </extension>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   638
 <extension
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   639
       point="org.symbian.tools.tmw.core.projectProvider">
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   640
    <projectProvider
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   641
          class="org.symbian.tools.wrttools.core.project.WRTIDEProjectProvider">
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   642
       <enablement>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   643
          <adapt
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   644
                type="org.eclipse.core.resources.IProject">
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   645
             <test
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   646
                   property="org.eclipse.core.resources.projectNature"
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   647
                   value="org.symbian.tools.wrttools.WidgetProjectNature">
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   648
             </test>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   649
          </adapt>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   650
       </enablement>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   651
    </projectProvider>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   652
 </extension>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   653
   <extension
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   654
        point="org.symbian.tools.tmw.core.runtimes">
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   655
     <runtime
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   656
           component-id="org.symbian.tools.wrttools.wrt"
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   657
           component-version="1.1"
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   658
           name="Symbian WRT 1.1">
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   659
        <runtime-component
477
b616697678bf Providers can now specify fixed facets on per-runtime basis. Those facets will not be shown to users in the project creation wizard
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 476
diff changeset
   660
              alwayson="true"
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   661
              id="tmw.geolocation"
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   662
              version="1.0">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   663
        </runtime-component>
477
b616697678bf Providers can now specify fixed facets on per-runtime basis. Those facets will not be shown to users in the project creation wizard
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 476
diff changeset
   664
        <fixed-facet
b616697678bf Providers can now specify fixed facets on per-runtime basis. Those facets will not be shown to users in the project creation wizard
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 476
diff changeset
   665
              id="tmw.geolocation"
b616697678bf Providers can now specify fixed facets on per-runtime basis. Those facets will not be shown to users in the project creation wizard
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 476
diff changeset
   666
              version="1.0">
b616697678bf Providers can now specify fixed facets on per-runtime basis. Those facets will not be shown to users in the project creation wizard
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 476
diff changeset
   667
        </fixed-facet>
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   668
     </runtime>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   669
  </extension>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   670
   <extension
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   671
         point="org.symbian.tools.tmw.core.packagers">
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   672
      <packager
459
c278f0c8917f Refactored packager and deployer interfaces
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 458
diff changeset
   673
            delegate="org.symbian.tools.wrttools.core.packager.WrtPackager"
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   674
            target-runtime="org.symbian.tools.wrttools.wrt"
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   675
            target-runtime-version="1.1">
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   676
      </packager>
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
   677
   </extension>
458
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   678
   <extension
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   679
         point="org.symbian.tools.tmw.ui.deploymentTargetType">
458
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   680
      <deployment-target-type
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   681
            class="org.symbian.tools.wrttools.core.deploy.emulator.EmulatorTargetType"
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   682
            icon="icons/deploy_settings.gif"
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   683
            id="org.symbian.tools.wrttools.symbianemulator"
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   684
            priority="50">
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   685
      </deployment-target-type>
5ff93668b08c Emulator deployment was added
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 455
diff changeset
   686
   </extension>
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   687
   <extension
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   688
         point="org.eclipse.wst.common.project.facet.core.runtimes">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   689
      <runtime-component-type
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   690
            id="org.symbian.tools.wrttools.wrt">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   691
      </runtime-component-type>
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   692
      <runtime-component-version
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   693
            type="org.symbian.tools.wrttools.wrt"
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   694
            version="1.1">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   695
      </runtime-component-version>
467
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   696
      <supported>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   697
         <facet
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   698
               id="symbian.wrtkit"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   699
               version="1.0">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   700
         </facet>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   701
         <runtime-component
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   702
               id="org.symbian.tools.wrttools.wrt"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   703
               version="1.1">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   704
         </runtime-component>
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
   705
         <facet
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
   706
               id="symbian.phonegap">
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
   707
         </facet>
467
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   708
      </supported>
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   709
   </extension>
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   710
   <extension
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   711
         point="org.eclipse.wst.common.project.facet.ui.images">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   712
      <image
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   713
            path="icons/main16_prev.gif"
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   714
            runtime-component-type="org.symbian.tools.wrttools.wrt"
462
cdc4995b1677 Minor bugfix
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 461
diff changeset
   715
            version="1.1">
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   716
      </image>
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   717
   </extension>
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   718
   <extension
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   719
         point="org.symbian.tools.tmw.core.runtimeIncludePath">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   720
      <runtime-include-path
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   721
            id="org.symbian.tools.wrttools.wrt"
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   722
            version="1.1">
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   723
         <include-path-entry
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   724
               file="libraries/core/widget.js"/>
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   725
         <include-path-entry
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   726
               file="libraries/core/services.js"/>
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   727
         <include-path-entry
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   728
               file="libraries/core/menu.js"/>
461
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   729
      </runtime-include-path>
7a8f9fa8d278 Project model introduction and JSDT classpath support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 459
diff changeset
   730
   </extension>
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   731
   <extension
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   732
         point="org.symbian.tools.tmw.ui.projectTemplate">
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   733
      <template
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   734
            icon="icons/flickr.gif"
465
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   735
            id="org.symbian.wrt11.flickr"
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   736
            name="Flickr Project"
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   737
            weight="3">
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   738
         <archive
466
129c94e78375 Project creation from the templates was implemented
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 465
diff changeset
   739
               file="projecttemplates/flickr.zip"
129c94e78375 Project creation from the templates was implemented
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 465
diff changeset
   740
               open-files="${mainHtml}.html">
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   741
         </archive>
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   742
         <description>
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   743
            This wizard generates an Flickr project with a minimal Info.plist, html,css and js and WRTKit.
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   744
         </description>
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   745
         <supported-runtime
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   746
               id="org.symbian.tools.wrttools.wrt"
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   747
               version="1.1">
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   748
         </supported-runtime>
464
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   749
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   750
               name="mainCss"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   751
               value="style">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   752
         </default-parameter-value>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   753
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   754
               name="mainJs"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   755
               value="flickr">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   756
         </default-parameter-value>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   757
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   758
               name="mainHtml"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   759
               value="flickr">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   760
         </default-parameter-value>
465
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   761
         <default-parameter-value
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   762
               name="flickrUrl"
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   763
               value="http://flickr.com/photos/symbianfoundation">
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   764
         </default-parameter-value>
467
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   765
         <required-facet
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   766
               id="symbian.wrtkit"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   767
               version="1.0">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   768
         </required-facet>
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   769
      </template>
474
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   770
      <template
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   771
            icon="icons/rss.gif"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   772
            id="org.symbian.wrt11.rssreader"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   773
            name="RSS Reader Project"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   774
            weight="3">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   775
         <archive
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   776
               file="projecttemplates/rssreader.zip"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   777
               open-files="${mainHtml}.html">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   778
         </archive>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   779
         <required-facet
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   780
               id="symbian.wrtkit"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   781
               version="1.0">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   782
         </required-facet>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   783
         <supported-runtime
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   784
               id="org.symbian.tools.wrttools.wrt"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   785
               version="1.1">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   786
         </supported-runtime>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   787
         <description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   788
            This wizard generates an RSS Reader project with a minimal Info.plist, html,css and js and WRTKit.
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   789
         </description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   790
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   791
               name="mainCss"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   792
               value="style">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   793
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   794
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   795
               name="mainJs"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   796
               value="rssreader">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   797
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   798
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   799
               name="mainHtml"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   800
               value="rssreader">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   801
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   802
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   803
               name="feedUrl"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   804
               value="http://twitter.com/statuses/user_timeline/21138778.rss">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   805
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   806
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   807
               name="feedName"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   808
               value="Symbian Twitter">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   809
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   810
      </template>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   811
      <template
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   812
            icon="icons/WRT_main_16.png"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   813
            id="org.symbian.wrt11.basic"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   814
            name="Hello World Project"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   815
            weight="1">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   816
         <archive
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   817
               file="projecttemplates/helloWithWRTKit.zip"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   818
               open-files="${mainJs}.js">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   819
         </archive>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   820
         <description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   821
            This wizard generates a basic Hello project with a minimal Info.plist, html,css and js along with WRTKit.
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   822
         </description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   823
         <required-facet
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   824
               id="symbian.wrtkit"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   825
               version="1.0">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   826
         </required-facet>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   827
         <supported-runtime
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   828
               id="org.symbian.tools.wrttools.wrt"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   829
               version="1.1">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   830
         </supported-runtime>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   831
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   832
               name="mainCss"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   833
               value="style">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   834
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   835
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   836
               name="mainJs"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   837
               value="main">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   838
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   839
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   840
               name="mainHtml"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   841
               value="index">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   842
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   843
      </template>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   844
      <template
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   845
            icon="icons/phonegap.png"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   846
            id="org.symbian.wrt11.phonegap"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   847
            name="PhoneGap"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   848
            weight="2">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   849
         <archive
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   850
               file="projecttemplates/phonegap.zip"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   851
               open-files="${mainHtml}.html">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   852
         </archive>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   853
         <description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   854
            This wizard generates a project based on the PhoneGap library that showcases PhoneGap API usage. PhoneGap applications require WRT 1.1 or newer.
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   855
         </description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   856
         <required-facet
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   857
               id="symbian.phonegap"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   858
               version="1.0">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   859
         </required-facet>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   860
         <supported-runtime
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   861
               id="org.symbian.tools.wrttools.wrt"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   862
               version="1.1">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   863
         </supported-runtime>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   864
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   865
               name="mainCss"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   866
               value="style">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   867
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   868
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   869
               name="mainJs"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   870
               value="main">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   871
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   872
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   873
               name="mainHtml"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   874
               value="index">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   875
         </default-parameter-value>
478
6c07c755d0c7 PhoneGap template will use proper screen size
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 477
diff changeset
   876
         <installer
6c07c755d0c7 PhoneGap template will use proper screen size
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 477
diff changeset
   877
               class="org.symbian.tools.wrttools.core.project.SetResolution">
6c07c755d0c7 PhoneGap template will use proper screen size
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 477
diff changeset
   878
         </installer>
474
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   879
      </template>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   880
      <template
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   881
            icon="icons/main16.gif"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   882
            id="org.symbian.wrt11.advanced"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   883
            name="Various UI Templates"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   884
            weight="2">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   885
         <archive
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   886
               file="projecttemplates/uitemplate.zip"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   887
               open-files="${mainHtml}.html">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   888
         </archive>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   889
         <description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   890
            Includes templates for high-end devices from Forum.Nokia.
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   891
         </description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   892
         <supported-runtime
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   893
               id="org.symbian.tools.wrttools.wrt"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   894
               version="1.1">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   895
         </supported-runtime>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   896
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   897
               name="mainCss"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   898
               value="style">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   899
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   900
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   901
               name="mainJs"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   902
               value="main">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   903
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   904
         <default-parameter-value
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   905
               name="mainHtml"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   906
               value="index">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   907
         </default-parameter-value>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   908
      </template>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   909
      <template
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   910
            icon="icons/main16_prev.gif"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   911
            id="org.symbian.wrt11.empty"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   912
            name="Minimal Project"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   913
            weight="4">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   914
         <description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   915
            This wizard generates an empty widget project with a minimal Info.plist, html,css and js.
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   916
         </description>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   917
         <supported-runtime
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   918
               id="org.symbian.tools.wrttools.wrt"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   919
               version="1.1">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   920
         </supported-runtime>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   921
         <archive
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   922
               file="projecttemplates/basic.zip"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   923
               open-files="${mainHtml}.html">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   924
         </archive>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   925
      </template>
464
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   926
      <runtime-template
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   927
            runtime-id="org.symbian.tools.wrttools.wrt"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   928
            version="1.1">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   929
         <archive
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   930
               file="projecttemplates/basic.zip">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   931
         </archive>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   932
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   933
               name="homeScreen"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   934
               value="false">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   935
         </default-parameter-value>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   936
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   937
               name="mainHtml"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   938
               value="index">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   939
         </default-parameter-value>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   940
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   941
               name="mainCss"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   942
               value="basic">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   943
         </default-parameter-value>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   944
         <default-parameter-value
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   945
               name="mainJs"
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   946
               value="basic">
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   947
         </default-parameter-value>
0b02f3d6f52c Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 463
diff changeset
   948
      </runtime-template>
463
aea4c83725d8 Project template work-in-progress
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 462
diff changeset
   949
   </extension>
465
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   950
   <extension
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   951
         point="org.symbian.tools.tmw.ui.wizardPages">
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   952
      <template-page
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   953
            class="org.symbian.tools.wrttools.wizards.NewFlickrApplicationWizardPage"
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   954
            template-id="org.symbian.wrt11.flickr">
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   955
      </template-page>
474
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   956
      <template-page
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   957
            class="org.symbian.tools.wrttools.wizards.NewRSSReaderApplicationWizardPage"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   958
            template-id="org.symbian.wrt11.rssreader">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   959
      </template-page>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   960
      <template-page
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   961
            class="org.symbian.tools.wrttools.wizards.NewWrtAppTemplatePage"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   962
            template-id="org.symbian.wrt11.basic">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   963
      </template-page>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   964
      <template-page
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   965
            class="org.symbian.tools.wrttools.wizards.NewWrtAppTemplatePage"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   966
            template-id="org.symbian.wrt11.phonegap">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   967
      </template-page>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   968
      <template-page
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   969
            class="org.symbian.tools.wrttools.wizards.NewWrtAppTemplatePage"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   970
            template-id="org.symbian.wrt11.advanced">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   971
      </template-page>
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   972
      <template-page
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   973
            class="org.symbian.tools.wrttools.wizards.NewWrtAppTemplatePage"
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   974
            template-id="org.symbian.wrt11.empty">
e2f461f0a9e0 All templates are ported to a new framework
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 473
diff changeset
   975
      </template-page>
465
87920e15f8eb Added a way to contribute wizard pages for templates
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 464
diff changeset
   976
   </extension>
467
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   977
   <extension
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   978
         point="org.eclipse.wst.common.project.facet.core.facets">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   979
      <project-facet
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   980
            id="symbian.wrtkit">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   981
         <label>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   982
            Symbian WRTKit
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   983
         </label>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   984
         <description>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   985
            WRTKit UI library for Symbian WRT
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   986
         </description>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   987
         <default-version
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   988
               version="1.0">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   989
         </default-version>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   990
      </project-facet>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   991
      <project-facet-version
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   992
            facet="symbian.wrtkit"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   993
            version="1.0">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   994
         <constraint>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   995
            <requires
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   996
                  facet="tmw.core"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   997
                  version="[1.0">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   998
            </requires>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
   999
         </constraint>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1000
         <action
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1001
               type="install">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1002
            <delegate
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1003
                  class="org.symbian.tools.wrttools.core.libraries.InstallWrtKitDelegate">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1004
            </delegate>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1005
            <config-factory
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1006
                  class="org.symbian.tools.tmw.core.runtimes.ProjectCreationConfigFactory">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1007
            </config-factory>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1008
         </action>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1009
      </project-facet-version>
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1010
      <project-facet
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1011
            id="symbian.phonegap">
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1012
         <label>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1013
            PhoneGap
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1014
         </label>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1015
         <description>
476
20536eb3b9ff Remove build artifacts
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 475
diff changeset
  1016
            PhoneGap is an open source development framework for building cross-platform mobile apps. It provides a cross-platform JavaScript APIs for accessing services on the mobile devices.
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1017
         </description>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1018
      </project-facet>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1019
      <project-facet-version
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1020
            facet="symbian.phonegap"
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1021
            version="1.0">
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1022
         <constraint>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1023
            <requires
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1024
                  facet="tmw.core"
480
b6d992b9b998 Bugfixes
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 479
diff changeset
  1025
                  version="[1.0">
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1026
            </requires>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1027
         </constraint>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1028
         <action
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1029
               type="install">
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1030
            <delegate
473
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1031
                  class="org.symbian.tools.wrttools.core.libraries.InstallPhoneGapDelegate">
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1032
            </delegate>
473
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1033
            <config-factory
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1034
                  class="org.symbian.tools.tmw.core.runtimes.ProjectCreationConfigFactory">
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1035
            </config-factory>
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1036
         </action>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1037
      </project-facet-version>
467
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1038
   </extension>
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1039
   <extension
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1040
         point="org.eclipse.wst.common.project.facet.ui.images">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1041
      <image
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1042
            facet="symbian.wrtkit"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1043
            path="icons/main16_prev.gif"
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1044
            version="1.0">
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1045
      </image>
473
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1046
      <image
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1047
            facet="symbian.phonegap"
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1048
            path="icons/phonegap.png"
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1049
            version="1.0">
8e8aed9adb99 PhoneGap support
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 470
diff changeset
  1050
      </image>
467
5a2901872fcf WRTKit facet was introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 466
diff changeset
  1051
   </extension>
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1052
   <extension
479
518afa7c6d2f Minor refactoring to make API more clear
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 478
diff changeset
  1053
         point="org.symbian.tools.tmw.core.runtimeAppLayout">
468
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1054
      <layout-provider
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1055
            class="org.symbian.tools.wrttools.core.project.WRT11ApplicationLayout"
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1056
            runtime-id="org.symbian.tools.wrttools.wrt"
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1057
            runtime-version="1.1">
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1058
      </layout-provider>
a05c6e5cc7d9 Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 467
diff changeset
  1059
   </extension>
455
5da55957c779 Bluetooth support was refactored on top of a new frameworks
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 454
diff changeset
  1060
 
0
ddc9cde0ba07 Initial version of WRT Tools Plugin.
TasneemS@US-TASNEEMS
parents:
diff changeset
  1061
</plugin>