org.symbian.tools.wrttools.previewer/schema/commands.exsd
author Eugene Ostroukhov <eugeneo@symbian.org>
Thu, 13 May 2010 15:47:02 -0700
changeset 333 895153411a80
parent 274 d236e890687c
permissions -rw-r--r--
Bug 2647 - phonegap example : storage preview support
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
274
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     1
<?xml version='1.0' encoding='UTF-8'?>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     2
<!-- Schema file written by PDE -->
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     3
<schema targetNamespace="org.symbian.tools.wrttools.previewer" xmlns="http://www.w3.org/2001/XMLSchema">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     4
<annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     5
      <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     6
         <meta.schema plugin="org.symbian.tools.wrttools.previewer" id="commands" name="Previewer Commands"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     7
      </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     8
      <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
     9
         This extension point allows customizing the previewer by handling special commands. To call command from previewer send AJAX GET request to following URL:
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    10
http://${host}:${port}/preview/${project}/__sym_command/${commandname}[?${params}]
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    11
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    12
${project} and ${params} will be passed to command handler.
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    13
      </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    14
   </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    15
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    16
   <element name="extension">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    17
      <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    18
         <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    19
            <meta.element />
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    20
         </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    21
      </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    22
      <complexType>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    23
         <sequence>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    24
            <element ref="command"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    25
         </sequence>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    26
         <attribute name="point" type="string" use="required">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    27
            <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    28
               <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    29
                  
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    30
               </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    31
            </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    32
         </attribute>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    33
         <attribute name="id" type="string">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    34
            <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    35
               <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    36
                  
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    37
               </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    38
            </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    39
         </attribute>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    40
         <attribute name="name" type="string">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    41
            <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    42
               <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    43
                  
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    44
               </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    45
               <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    46
                  <meta.attribute translatable="true"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    47
               </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    48
            </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    49
         </attribute>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    50
      </complexType>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    51
   </element>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    52
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    53
   <element name="command">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    54
      <complexType>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    55
         <attribute name="name" type="string" use="required">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    56
            <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    57
               <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    58
                  One-word command name
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    59
               </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    60
            </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    61
         </attribute>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    62
         <attribute name="handler" type="string" use="required">
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    63
            <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    64
               <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    65
                  Class that will handle commands
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    66
               </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    67
               <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    68
                  <meta.attribute kind="java" basedOn=":org.symbian.tools.wrttools.previewer.IPreviewerCommandHandler"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    69
               </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    70
            </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    71
         </attribute>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    72
      </complexType>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    73
   </element>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    74
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    75
   <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    76
      <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    77
         <meta.section type="since"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    78
      </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    79
      <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    80
         [Enter the first release in which this extension point appears.]
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    81
      </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    82
   </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    83
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    84
   <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    85
      <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    86
         <meta.section type="examples"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    87
      </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    88
      <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    89
         [Enter extension point usage example here.]
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    90
      </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    91
   </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    92
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    93
   <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    94
      <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    95
         <meta.section type="apiinfo"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    96
      </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    97
      <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    98
         [Enter API information here.]
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
    99
      </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   100
   </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   101
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   102
   <annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   103
      <appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   104
         <meta.section type="implementation"/>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   105
      </appInfo>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   106
      <documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   107
         [Enter information about supplied implementation of this extension point.]
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   108
      </documentation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   109
   </annotation>
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   110
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   111
d236e890687c Bug 2123 - Enable use of Web Inspector
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
diff changeset
   112
</schema>