Menu

[r3124]: / trunk / ch.sahits.codegen.java / schema / ch.sahits.codegen.java.refimplementation.exsd  Maximize  Restore  History

Download this file

132 lines (120 with data), 4.2 kB

<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="ch.sahits.codegen.java" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
      <appInfo>
         <meta.schema plugin="ch.sahits.codegen.java" id="ch.sahits.codegen.java.refimplementation" name="Reference implementation for Generator enhancement"/>
      </appInfo>
      <documentation>
         Define the classes that can be used as reference implementations.
Any such class must implement the interface ch.sahits.codegen.java.generator.ast.IReferenceImplementation
and make use of the Annotaions ch.sahits.codegen.java.generator.ast.AReferenceImplementation, ch.sahits.codegen.java.generator.ast.AReplaceMethods and ch.sahits.codegen.java.generator.ast.AValueProvider
      </documentation>
   </annotation>

   <element name="extension">
      <annotation>
         <appInfo>
            <meta.element />
         </appInfo>
      </annotation>
      <complexType>
         <sequence minOccurs="1" maxOccurs="unbounded">
            <element ref="refImplClass"/>
         </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="refImplClass">
      <annotation>
         <documentation>
            Element definining the class of the reference implementation
         </documentation>
      </annotation>
      <complexType>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  Reference implementation class. The source for the class must also be included.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn=":ch.sahits.codegen.java.generator.ast.IReferenceImplementation"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="srcFolder" type="boolean" use="required">
            <annotation>
               <documentation>
                  Define the source folder where the source of the class resides in
               </documentation>
            </annotation>
         </attribute>
         <attribute name="display" type="string">
            <annotation>
               <documentation>
                  Displayed text on the user interface.
Short description of the reference implementation class
               </documentation>
            </annotation>
         </attribute>
         <attribute name="helpContext" type="string">
            <annotation>
               <documentation>
                  Context ID for the help
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appInfo>
         <meta.section type="since"/>
      </appInfo>
      <documentation>
         2.1.0
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="examples"/>
      </appInfo>
      <documentation>
         [Enter extension point usage example here.]
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="apiinfo"/>
      </appInfo>
      <documentation>
         [Enter API information here.]
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="implementation"/>
      </appInfo>
      <documentation>
         ch.sahits.codegen.java
      </documentation>
   </annotation>


</schema>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.