Statistiques
| Révision :

root / tmp / org.txm.practically.rcp / schema / scriptingSupport.exsd @ 1089

Historique | Voir | Annoter | Télécharger (3,22 ko)

1 486 mdecorde
<?xml version='1.0' encoding='UTF-8'?>
2 486 mdecorde
<!-- Schema file written by PDE -->
3 486 mdecorde
<schema targetNamespace="PracticallyMacro" xmlns="http://www.w3.org/2001/XMLSchema">
4 486 mdecorde
<annotation>
5 486 mdecorde
      <appinfo>
6 486 mdecorde
         <meta.schema plugin="PracticallyMacro" id="scriptingSupport" name="Macro Scripting Support"/>
7 486 mdecorde
      </appinfo>
8 486 mdecorde
      <documentation>
9 486 mdecorde
         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 486 mdecorde
      </documentation>
11 486 mdecorde
   </annotation>
12 486 mdecorde
13 486 mdecorde
   <element name="extension">
14 486 mdecorde
      <annotation>
15 486 mdecorde
         <appinfo>
16 486 mdecorde
            <meta.element />
17 486 mdecorde
         </appinfo>
18 486 mdecorde
      </annotation>
19 486 mdecorde
      <complexType>
20 486 mdecorde
         <sequence minOccurs="1" maxOccurs="unbounded">
21 486 mdecorde
            <element ref="scriptSupport"/>
22 486 mdecorde
         </sequence>
23 486 mdecorde
         <attribute name="point" type="string" use="required">
24 486 mdecorde
            <annotation>
25 486 mdecorde
               <documentation>
26 486 mdecorde
27 486 mdecorde
               </documentation>
28 486 mdecorde
            </annotation>
29 486 mdecorde
         </attribute>
30 486 mdecorde
         <attribute name="id" type="string">
31 486 mdecorde
            <annotation>
32 486 mdecorde
               <documentation>
33 486 mdecorde
34 486 mdecorde
               </documentation>
35 486 mdecorde
            </annotation>
36 486 mdecorde
         </attribute>
37 486 mdecorde
         <attribute name="name" type="string">
38 486 mdecorde
            <annotation>
39 486 mdecorde
               <documentation>
40 486 mdecorde
41 486 mdecorde
               </documentation>
42 486 mdecorde
               <appinfo>
43 486 mdecorde
                  <meta.attribute translatable="true"/>
44 486 mdecorde
               </appinfo>
45 486 mdecorde
            </annotation>
46 486 mdecorde
         </attribute>
47 486 mdecorde
      </complexType>
48 486 mdecorde
   </element>
49 486 mdecorde
50 486 mdecorde
   <element name="scriptSupport">
51 486 mdecorde
      <annotation>
52 486 mdecorde
         <documentation>
53 486 mdecorde
            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 486 mdecorde
         </documentation>
55 486 mdecorde
      </annotation>
56 486 mdecorde
      <complexType>
57 486 mdecorde
         <attribute name="class" type="string" use="required">
58 486 mdecorde
            <annotation>
59 486 mdecorde
               <documentation>
60 486 mdecorde
61 486 mdecorde
               </documentation>
62 486 mdecorde
               <appinfo>
63 486 mdecorde
                  <meta.attribute kind="java" basedOn=":practicallymacro.commands.IMacroScriptSupport"/>
64 486 mdecorde
               </appinfo>
65 486 mdecorde
            </annotation>
66 486 mdecorde
         </attribute>
67 486 mdecorde
      </complexType>
68 486 mdecorde
   </element>
69 486 mdecorde
70 486 mdecorde
   <annotation>
71 486 mdecorde
      <appinfo>
72 486 mdecorde
         <meta.section type="since"/>
73 486 mdecorde
      </appinfo>
74 486 mdecorde
      <documentation>
75 486 mdecorde
         [Enter the first release in which this extension point appears.]
76 486 mdecorde
      </documentation>
77 486 mdecorde
   </annotation>
78 486 mdecorde
79 486 mdecorde
   <annotation>
80 486 mdecorde
      <appinfo>
81 486 mdecorde
         <meta.section type="examples"/>
82 486 mdecorde
      </appinfo>
83 486 mdecorde
      <documentation>
84 486 mdecorde
         [Enter extension point usage example here.]
85 486 mdecorde
      </documentation>
86 486 mdecorde
   </annotation>
87 486 mdecorde
88 486 mdecorde
   <annotation>
89 486 mdecorde
      <appinfo>
90 486 mdecorde
         <meta.section type="apiinfo"/>
91 486 mdecorde
      </appinfo>
92 486 mdecorde
      <documentation>
93 486 mdecorde
         [Enter API information here.]
94 486 mdecorde
      </documentation>
95 486 mdecorde
   </annotation>
96 486 mdecorde
97 486 mdecorde
   <annotation>
98 486 mdecorde
      <appinfo>
99 486 mdecorde
         <meta.section type="implementation"/>
100 486 mdecorde
      </appinfo>
101 486 mdecorde
      <documentation>
102 486 mdecorde
         [Enter information about supplied implementation of this extension point.]
103 486 mdecorde
      </documentation>
104 486 mdecorde
   </annotation>
105 486 mdecorde
106 486 mdecorde
107 486 mdecorde
</schema>