blob: 88278aed815a3b787eb2ac03bd99d126c82bbb34 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.mylar.monitor.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.mylar.monitor.ui" id="study" name="Monitor Study"/>
</appinfo>
<documentation>
Provides a mechanism to connect a user study plug-in with the Mylyn Monitors usage monitoring facilities. For more information please see: http://wiki.eclipse.org/index.php/Mylyn_Integrator_Reference#Monitor_API
</documentation>
</annotation>
<element name="study">
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="scripts"/>
<element ref="ui"/>
<element ref="monitors"/>
<element ref="filter"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="scripts">
<complexType>
<attribute name="url" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="upload" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="userId" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="background" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="version" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="forceObfuscation" type="boolean">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="ui">
<complexType>
<attribute name="title" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="description" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="daysBetweenUpload" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="questionnairePage" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.mylyn.monitor.usage.AbstractStudyQuestionnairePage:"/>
</appinfo>
</annotation>
</attribute>
<attribute name="backgroundPage" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="java"/>
</appinfo>
</annotation>
</attribute>
<attribute name="consentForm" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
<attribute name="useContactField" type="boolean">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="usagePageUrl" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="studyName" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="promptForSubmission" type="boolean" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="moreInformationUrl" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="monitors">
<complexType>
<attribute name="browserUrlFilter" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="filter">
<complexType>
<attribute name="idPrefix" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
2.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
See the org.eclipse.mylyn.examples.monitor.study plug-in for a reference implementation.
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2009 Tasktop Technologies and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
</schema>