Salome HOME
Porting to ParaView 5.8
[modules/paravis.git] / src / Plugins / TableReader / plugin / sources.xml
1 <ServerManagerConfiguration>
2   <ProxyGroup name="sources">
3     <SourceProxy
4       name="TableReader"
5       class="vtkVisuTableReader"
6       label="Table Reader">
7       
8       <Hints>
9         <ReaderFactory extensions="tab txt xls"
10                        file_description="Post-Pro Table Files">
11         </ReaderFactory>
12       </Hints>
13
14       <StringVectorProperty
15          name="FileName"
16          command="SetFileName"
17          number_of_elements="1"
18          animateable="0">
19          <FileListDomain name="files" />
20          <Documentation>
21             This property specifies the file name for the table reader.
22         </Documentation>
23       </StringVectorProperty>
24
25       <IntVectorProperty 
26         name="DetectNumericColumns"
27         command="SetDetectNumericColumns"
28         number_of_elements="1"
29         default_values="1">
30         <BooleanDomain name="bool" />
31         <Documentation>
32           When set to true, the reader will detect numeric columns and create
33           vtkDoubleArray or vtkIntArray for those instead of vtkStringArray.
34         </Documentation>
35       </IntVectorProperty>
36
37       <IntVectorProperty 
38         name="FirstStringAsTitles"
39         command="SetFirstStringAsTitles"
40         number_of_elements="1"
41         default_values="0">
42         <BooleanDomain name="bool" />
43         <Documentation>
44           When set to true, the reader will interpret the first string as
45           column titles.
46         </Documentation>
47       </IntVectorProperty>
48
49       <StringVectorProperty 
50         name="ValueDelimiter"
51         command="SetValueDelimiter"
52         number_of_elements="1"
53         default_values=" ">
54         <Documentation>
55           This property defines string to be used to separate table values.
56         </Documentation>
57       </StringVectorProperty>
58
59       <IntVectorProperty 
60         name="TableNumber"
61         command="SetTableNumber"
62         number_of_elements="1"
63         default_values="0">
64         <Documentation>
65           This property defines the number of table to read.
66         </Documentation>
67       </IntVectorProperty>
68
69       <StringVectorProperty
70         name="AvailableTables"
71         command="GetAvailableTables"
72         number_of_elements="0"
73         information_only="1">
74         <StringArrayHelper />
75         <Documentation>
76           Names of available tables.
77         </Documentation>
78       </StringVectorProperty>
79
80       <Hints>
81         <View type="SpreadSheetView" />
82       </Hints>
83       
84     </SourceProxy>
85   </ProxyGroup>
86 </ServerManagerConfiguration>