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