Menu

[r3190]: / trunk / ch.sahits.codegen / schema / ch.sahits.codegen.java.connectionpage.exsd  Maximize  Restore  History

Download this file

122 lines (110 with data), 3.6 kB

<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="ch.sahits.codegen" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
      <appinfo>
         <meta.schema plugin="ch.sahits.codegen" id="ch.sahits.codegen.java.connectionpage" name="DB definition page"/>
      </appinfo>
      <documentation>
         This extension point lets you add your own method to access database definitions
      </documentation>
   </annotation>

   <element name="extension">
      <annotation>
         <appinfo>
            <meta.element />
         </appinfo>
      </annotation>
      <complexType>
         <sequence>
            <element ref="dbDefinition"/>
         </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="dbDefinition">
      <complexType>
         <attribute name="className" type="string" use="required">
            <annotation>
               <documentation>
                  fully qualified class name of the database definition page that is a subclass to BasicDBDefinitionPage
               </documentation>
            </annotation>
         </attribute>
         <attribute name="btnText" type="string" use="required">
            <annotation>
               <documentation>
                  Radio button Text
               </documentation>
            </annotation>
         </attribute>
         <attribute name="btnTooltip" type="string">
            <annotation>
               <documentation>
                  Button Tooltip Text
               </documentation>
            </annotation>
         </attribute>
         <attribute name="pageTitle" type="string" use="required">
            <annotation>
               <documentation>
                  Page title
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appinfo>
         <meta.section type="since"/>
      </appinfo>
      <documentation>
         1.1.0
      </documentation>
   </annotation>

   <annotation>
      <appinfo>
         <meta.section type="examples"/>
      </appinfo>
      <documentation>
         &lt;extension
      point=&quot;ch.sahits.codegen.java.connectionpage&quot;&gt;
   &lt;dbDefinition
         btnText=&quot;DB with connection&quot;
         btnTooltip=&quot;Create the class DB relations gatherd from the connection&quot;
         className=&quot;ch.sahits.codegen.java.internal.wizards.DBDefinitionPage&quot;
         pageTitle=&quot;Java Code Generator&quot;&gt;
   &lt;/dbDefinition&gt;
&lt;/extension&gt;
      </documentation>
   </annotation>

   <annotation>
      <appinfo>
         <meta.section type="apiinfo"/>
      </appinfo>
      <documentation>
         Subclass ch.sahits.codegen.java.wizards.BasicDBDefinitionPage
You will have to oberride the init and the testConnection method.
      </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.