root / tmp / org.txm.practically.rcp / schema / scriptingSupport.exsd @ 1380
Historique | Voir | Annoter | Télécharger (3,22 ko)
1 |
<?xml version='1.0' encoding='UTF-8'?> |
---|---|
2 |
<!-- Schema file written by PDE --> |
3 |
<schema targetNamespace="PracticallyMacro" xmlns="http://www.w3.org/2001/XMLSchema"> |
4 |
<annotation> |
5 |
<appinfo> |
6 |
<meta.schema plugin="PracticallyMacro" id="scriptingSupport" name="Macro Scripting Support"/> |
7 |
</appinfo> |
8 |
<documentation> |
9 |
This extension point allows scripting languages to be plugged into the macro script command. If there are no scripting extension defined, then the macro script command will not be available. |
10 |
</documentation> |
11 |
</annotation> |
12 |
|
13 |
<element name="extension"> |
14 |
<annotation> |
15 |
<appinfo> |
16 |
<meta.element /> |
17 |
</appinfo> |
18 |
</annotation> |
19 |
<complexType> |
20 |
<sequence minOccurs="1" maxOccurs="unbounded"> |
21 |
<element ref="scriptSupport"/> |
22 |
</sequence> |
23 |
<attribute name="point" type="string" use="required"> |
24 |
<annotation> |
25 |
<documentation> |
26 |
|
27 |
</documentation> |
28 |
</annotation> |
29 |
</attribute> |
30 |
<attribute name="id" type="string"> |
31 |
<annotation> |
32 |
<documentation> |
33 |
|
34 |
</documentation> |
35 |
</annotation> |
36 |
</attribute> |
37 |
<attribute name="name" type="string"> |
38 |
<annotation> |
39 |
<documentation> |
40 |
|
41 |
</documentation> |
42 |
<appinfo> |
43 |
<meta.attribute translatable="true"/> |
44 |
</appinfo> |
45 |
</annotation> |
46 |
</attribute> |
47 |
</complexType> |
48 |
</element> |
49 |
|
50 |
<element name="scriptSupport"> |
51 |
<annotation> |
52 |
<documentation> |
53 |
You should supply a class that implements the IMacroScriptSupport interface. The main duties of this class are to provide a unique ID, to allow editing of the script in a dialog, and to execute the script (on the main thread) when requested. |
54 |
</documentation> |
55 |
</annotation> |
56 |
<complexType> |
57 |
<attribute name="class" type="string" use="required"> |
58 |
<annotation> |
59 |
<documentation> |
60 |
|
61 |
</documentation> |
62 |
<appinfo> |
63 |
<meta.attribute kind="java" basedOn=":practicallymacro.commands.IMacroScriptSupport"/> |
64 |
</appinfo> |
65 |
</annotation> |
66 |
</attribute> |
67 |
</complexType> |
68 |
</element> |
69 |
|
70 |
<annotation> |
71 |
<appinfo> |
72 |
<meta.section type="since"/> |
73 |
</appinfo> |
74 |
<documentation> |
75 |
[Enter the first release in which this extension point appears.] |
76 |
</documentation> |
77 |
</annotation> |
78 |
|
79 |
<annotation> |
80 |
<appinfo> |
81 |
<meta.section type="examples"/> |
82 |
</appinfo> |
83 |
<documentation> |
84 |
[Enter extension point usage example here.] |
85 |
</documentation> |
86 |
</annotation> |
87 |
|
88 |
<annotation> |
89 |
<appinfo> |
90 |
<meta.section type="apiinfo"/> |
91 |
</appinfo> |
92 |
<documentation> |
93 |
[Enter API information here.] |
94 |
</documentation> |
95 |
</annotation> |
96 |
|
97 |
<annotation> |
98 |
<appinfo> |
99 |
<meta.section type="implementation"/> |
100 |
</appinfo> |
101 |
<documentation> |
102 |
[Enter information about supplied implementation of this extension point.] |
103 |
</documentation> |
104 |
</annotation> |
105 |
|
106 |
|
107 |
</schema> |