plugins/org.symbian.tools.wrttools/templates/default-templates.xml
author Eugene Ostroukhov <eugeneo@symbian.org>
Tue, 31 Aug 2010 15:21:04 -0700
changeset 480 b6d992b9b998
parent 470 d4809db37847
permissions -rw-r--r--
Bugfixes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     2
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     3
<!-- 
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     4
/**
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     5
 * Copyright (c) 2009, 2010 Symbian Foundation and/or its subsidiary(-ies). 
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     6
 * All rights reserved. * This component and the accompanying materials are	made available
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     7
 * under the terms of the License "Eclipse Public License v1.0" 
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     8
 * which accompanies this distribution, and is available
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     9
 * at the URL "http://www.eclipse.org/legal/epl-v10.html". 
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    10
 *
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    11
 * Initial Contributors:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    12
 * Symbian Foundation - initial contribution.
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    13
 * Contributors:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    14
 * Description:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    15
 * Overview:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    16
 * Details:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    17
 * Platforms/Drives/Compatibility: 
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    18
 * Assumptions/Requirement/Pre-requisites:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    19
 * Failures and causes:
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    20
 */
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    21
-->
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    22
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    23
<templates>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    24
	<template name="appmanager" description="Access WRT 1.1 application manager. This API allows widgets to access and launch applications."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    25
		id="org.symbian.tools.wrttools.templates.appmanager" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    26
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    27
		var ${appManager} = device.getServiceObject("Service.AppManager", "IAppManager");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    28
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    29
	<template name="calendar" description="Access WRT 1.1 calendar service. This API allows widgets to access, create, and manage calendars and calendar entries."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    30
		id="org.symbian.tools.wrttools.templates.calendar" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    31
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    32
		var ${calendarService} = device.getServiceObject("Service.Calendar", "IDataSource");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    33
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    34
	<template name="contact" description="Access WRT 1.1 contacts service. This API allows widgets to access and manage information about contacts."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    35
		id="org.symbian.tools.wrttools.templates.contacts" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    36
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    37
		var ${contactService} = device.getServiceObject("Service.Contact", "IDataSource");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    38
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    39
	<template name="landmarks" description="Access WRT 1.1 landmarks service. This API allows widgets to access and manage information about landmarks and landmark categories. The information is stored in one or more landmark databases on a device."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    40
		id="org.symbian.tools.wrttools.templates.landmarks" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    41
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    42
		var ${landmarksService} = device.getServiceObject("Service.Landmarks", "IDataSource");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    43
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    44
	<template name="location" description="Access WRT 1.1 location service. This API allows widgets to retrieve information about the geographic location of the device and to perform location-based calculations."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    45
		id="org.symbian.tools.wrttools.templates.location" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    46
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    47
		var ${locationService} = device.getServiceObject("Service.Location", "ILocation");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    48
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    49
	<template name="logging" description="Access WRT 1.1 logging service. This API allows widgets to access and manage logging events such as call logs, messaging logs, and data logs."
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
    50
		id="org.symbian.tools.wrttools.templates.logging" context="javaScript"
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    51
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    52
		var ${loggingService} = device.getServiceObject("Service.Logging", "IDataSource");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    53
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    54
	<template name="media" description="Access WRT 1.1 media management service. This API allows widgets to retrieve information about the media files stored in the device's public folders."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    55
		id="org.symbian.tools.wrttools.templates.media" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    56
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    57
		var ${mediaService} = device.getServiceObject("Service.MediaManagement", "IDataSource");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    58
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    59
	<template name="messaging" description="Access WRT 1.1 messaging service. This API allows widgets to send, retrieve, and manage messages using the Message Store."
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    60
		id="org.symbian.tools.wrttools.templates.messaging" context="javaScript"
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    61
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    62
		var ${messaging} = device.getServiceObject("Service.Messaging", "IMessaging");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    63
	</template>
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    64
	<template name="sensor" description="Access WRT 1.1 sensors API. This API allows widgets to access data provided by the physical sensors of the device."
373
85c2a2a29aad Snippets support introduced
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 372
diff changeset
    65
		id="org.symbian.tools.wrttools.templates.sensor" context="javaScript"
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    66
		enabled="true" autoinsert="false">
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    67
		var ${sensors} = device.getServiceObject("Service.Sensor", "ISensor");
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    68
	</template>
390
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
    69
	<template name="sensor" description="Access WRT 1.1 system information API. This API allows widgets to access system data like battery, connectivity, device, display, features, general, memory, network"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
    70
		id="org.symbian.tools.wrttools.templates.sysinfo" context="javaScript"
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
    71
		enabled="true" autoinsert="false">
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
    72
		var ${sysInfo} = device.getServiceObject("Service.SysInfo", "ISysInfo");
41fb932132ea Battery status snippet and system info code template
Eugene Ostroukhov <eugeneo@symbian.org>
parents: 373
diff changeset
    73
	</template>
372
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    74
1e408ee32d8a Added templates for WRT 1.1 platform services
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    75
</templates>