Statistics
| Revision:

gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.dynform / org.gvsig.tools.dynform.impl / src / main / resources / org / gvsig / tools / dynform / main / TestDefinition.xml @ 931

History | View | Annotate | Download (10.8 KB)

1
<?xml version="1.0"?>
2
<!--
3

4
    gvSIG. Desktop Geographic Information System.
5

6
    Copyright (C) 2007-2013 gvSIG Association.
7

8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

26
-->
27
<definitions>
28
  <version>1.0.0</version>
29
  <classes>
30
    <class name="DBFStoreParameters">
31

    
32
      <description>Store the parameters need to open a dbf file</description>
33
      <fields>
34
        <field name="DbfFile" type="file" mandatory="true" group="Basic" order="1">
35
          <description>dbf file</description>
36
        </field>
37
        <field name="ProviderName" type="string" mandatory="true" group="Advanced">
38
          <description>Name of the provider</description>
39
        </field> 
40
        <field name="description" type="string" subtype="text" mandatory="true" group="Advanced">
41
          <description>Description ......</description>
42
        </field>      
43

    
44
        <field name="Encoding" type="string" mandatory="false" group="Basic" defaultValue="UTF-16">
45
          <description>Encoding used in this file</description>
46
          <availableValues>
47
                  <value label="(default)"></value>
48
            <value label="US-ASCII">US-ASCII</value>
49
            <value label="ISO-8859-1">ISO-8859-1</value>
50
            <value label="ISO-8859-15">ISO-8859-15</value>
51
            <value label="windows-1250">windows-1250</value>
52
            <value label="windows-1252">windows-1252</value>
53
            <value label="UTF-8">UTF-8</value>
54
            <value label="UTF-16">UTF-16</value>
55
            <value label="UTF-16BE">UTF-16BE</value>
56
            <value label="UTF-16LE">UTF-16LE</value>
57
          </availableValues>
58
        </field>
59
        <field name="codePage" type="Integer" mandatory="false"  group="Advanced">          
60
          <description>Code page used in this file</description>
61
          <availableValues>
62
            <value label="DOS USA">0x01</value>
63
            <value label="DOS Multilingual">0x02</value>
64
            <value label="Windows ANSI">0x03</value>
65
            <value label="Standard Macintosh">0x04</value>
66
            <value label="EE MS-DOS">0x64</value>
67
            <value label="Nordic MS-DOS">0x65</value>
68
            <value label="Russian MS-DOS">0x66</value>
69
            <value label="Icelandic MS-DOS">0x67</value>
70
            <value label="Kamenicky (Czech) MS-DOS">0x68</value>
71
            <value label="Mazovia (Polish) MS-DOS">0x69</value>
72
            <value label="Greek MS-DOS (437G)">0x6A</value>
73
            <value label="Turkish MS-DOS">0x6B</value>
74
            <value label="Russian Macintosh">0x96</value>
75
            <value label="Macintosh">0x97</value>
76
            <value label="Greek Macintosh">0x98</value>
77
            <value label="Windows EE">0xC8</value>
78
            <value label="Russian Windows">0xC9</value>
79
            <value label="Turkish Windows">0xCA</value>
80
            <value label="Greek Windows">0xCB</value>
81
          </availableValues> 
82
        </field>
83
        
84
        <field label="un entero" name="entero" type="integer" minValue="10" maxValue="100" group="Test tipos">
85
        </field>
86
        <field name="doble" type="double" group="Test tipos">
87
        </field>
88
        <field name="float" type="float" group="Test tipos">
89
        </field>
90
        <field name="boolean" type="boolean" group="Test tipos">
91
        </field>
92
        <field name="date" type="date" group="Test tipos">
93
        </field>
94
        <field name="time" type="time" group="Test tipos">
95
        </field>
96
        <field name="timestamp" type="timestamp" group="Test tipos">
97
        </field>
98
        <field name="byte" type="byte" group="Test tipos">
99
        </field>
100
        <field name="folder" type="folder" group="Test tipos">
101
        </field>
102
        <field name="url" type="url" group="Test tipos">
103
        </field>
104
        <field name="uri" type="uri" group="Test tipos">
105
        </field>
106
        <field name="long" type="long" group="Test tipos">
107
        </field>
108
        <field name="char" type="char" group="Test tipos">
109
        </field>
110
        <field name="version" type="version" group="Test tipos">
111
        </field>
112
        
113
        <field name="dynobject" type="DYNOBJECT" group="Test containers">
114
        </field>
115
        <field name="array" type="ARRAY" group="Test containers">
116
        </field>
117
        <field name="list" type="LIST" group="Test containers">
118
        </field>
119
        <field name="set" type="SET" group="Test containers">
120
        </field>
121
        <field name="map" type="MAP" group="Test containers">
122
        </field>
123
        
124
           
125
      </fields>
126
    </class>
127

    
128
    <class name="FormPackageinfo">
129

    
130
      <description>Form definition for package.info data</description>
131
      <fields>
132
        <field name="code" label="Code" type="string" mandatory="true" order="1" group="General">
133
          <description>Package code. It is usually a lowercase name separated by dots or dashes.</description>
134
        </field>
135
        
136
        <field name="name" label="Name" type="string" mandatory="true" group="General">
137
          <description>Name of the package</description>
138
        </field> 
139
        
140
        <field name="description" label="Description" type="string" subtype="text" group="General">
141
          <description></description>
142
        </field>      
143
        
144
        <field name="categories" label="Categories" type="string" group="General">
145
          <description>Categories list separated by commas, for example:  View,Vector</description>
146
        </field>      
147
        
148
        <field name="version" label="Version" type="string" mandatory="true" defaultValue="1.0.0-0" group="General">
149
          <description>Version number of the package. The last number should be the same as the number of build</description>
150
        </field> 
151
        
152
        <field name="buildNumber" label="Build" type="integer" mandatory="true" defaultValue="0" group="General">
153
          <description>Build number of the package</description>
154
        </field> 
155
        
156
        <field name="state" label="State" type="string" mandatory="false" defaultValue="testing" group="General">
157
          <description>State of the package</description>
158
          <availableValues>
159
                  <value label="devel">devel</value>
160
            <value label="testing">testing</value>
161
            <value label="pilot">pilot</value>
162
            <value label="prototype">prototype</value>
163
            <value label="alpha1">alpha1</value>
164
            <value label="alpha2">alpha2</value>
165
            <value label="alpha3">alpha3</value>
166
            <value label="beta1">beta1</value>
167
            <value label="beta2">beta2</value>
168
            <value label="beta3">beta3</value>
169
            <value label="RC1">RC1</value>
170
            <value label="RC2">RC2</value>
171
            <value label="RC3">RC3</value>
172
            <value label="final">final</value>
173
          </availableValues>
174
        </field>
175
        
176
        <field name="official" label="Official" type="boolean" group="General">
177
          <description>Check if the package is a official package of gvSIG project</description>
178
        </field>
179

    
180
        <field name="sources-url" label="Source code URL" type="URL" mandatory="false" group="General">
181
          <description>URL to the source of the package</description>
182
        </field>      
183

    
184
        <field name="owner" label="Package owner" type="string" mandatory="true" group="Owner">
185
          <description>Package owner</description>
186
        </field>      
187

    
188
        <field name="web-url" label="Package owner URL" type="URL" mandatory="false" group="Owner">
189
          <description>URL to the home page of the package owner</description>
190
        </field>      
191

    
192

    
193
        
194
        <field name="operating-system" label="Operating System" type="string" mandatory="true" defaultValue="all" group="Requeriments">
195
          <description>Operating system that require this package</description>
196
          <availableValues>
197
                  <value label="all">all</value>
198
            <value label="Linux">lin</value>
199
            <value label="Windows">win</value>
200
            <value label="MAC OSX 10.4">osx_10_4</value>
201
            <value label="MAC OSX 10.5">osx_10_5</value>
202
            <value label="MAC OSX 10.6">osx_10_6</value>
203
            <value label="MAC OSX 10.7">osx_10_7</value>
204
            <value label="MAC OSX 10.8">osx_10_8</value>
205
            <value label="MAC OSX 10.9">osx_10_9</value>
206
          </availableValues>
207
        </field>
208

    
209
        <field name="architecture" label="Architecture" type="string" mandatory="true" defaultValue="all" group="Requeriments">
210
          <description>Operating system that require this package</description>
211
          <availableValues>
212
                  <value label="all">all</value>
213
            <value label="x86">x86</value>
214
            <value label="x86_64/AMD64">x86_64</value>
215
            <value label="PowerPC">PowerPC</value>
216
          </availableValues>
217
        </field>
218

    
219
        <field name="java-version" label="Java version" type="string" mandatory="true" defaultValue="j1_5" group="Requeriments">
220
          <description>Minimun java version required to run this package</description>
221
          <availableValues>
222
                  <value label="Java 1.5">j1_5</value>
223
            <value label="Java 1.6">j1_6</value>
224
            <value label="Java 1.7">j1_7</value>
225
            <value label="Java 1.8">j1_8</value>
226
          </availableValues>
227
        </field>
228

    
229
        <field name="gvSIG-version" label="gvSIG version" type="string" mandatory="true" defaultValue="2.0.0" group="Requeriments">
230
          <description>gvSIG version for which this package has been created</description>
231
        </field>      
232

    
233
        <field name="dependencies" label="Dependencies" type="string" mandatory="false" group="Requeriments">
234
          <description>Specifies the dependencies or conflicts with other packates</description>
235
        </field>      
236

    
237
        <field name="code-alias" label="Code alias" type="string" mandatory="false" group="Others">
238
          <description>Alternative value for the code. It is useful when a renamed package to maintain compatibility with dependencies that other packages might have with this.</description>
239
        </field>      
240

    
241
           
242
      </fields>
243
    </class>
244

    
245
  </classes>
246
</definitions>