Salome HOME
Fix problem in the XML configuration of the ArrayRenamer plugin.
[modules/paravis.git] / src / Plugins / ArrayRenamer / ArrayRenamer.xml
1 <ServerManagerConfiguration>
2   <ProxyGroup name="filters">
3     <SourceProxy name="ArrayRenamer"
4                  class="vtkArrayRenamerFilter"
5                  label="Array Renamer">
6       <Documentation
7         long_help="The filter renames data arrays and array's components of the data set."
8         short_help="Renames data arrays and array's components.">
9       </Documentation>
10
11       <InputProperty name="Input"
12                      command="SetInputConnection">
13         <ProxyGroupDomain name="groups">
14           <Group name="filters" />
15           <Group name="sources" />
16         </ProxyGroupDomain>
17         <DataTypeDomain name="input_type">
18           <DataType value="vtkDataObject" />
19         </DataTypeDomain>
20         <InputArrayDomain name="input_array"
21                           attribute_type="any"
22                           optional="1">
23         </InputArrayDomain>
24         <Documentation>
25           This property specifies the input to Array Renamer filter.
26         </Documentation>
27       </InputProperty>
28
29       <StringVectorProperty command="SetArrayInfo"
30                             element_types="2 2 0"
31                             name="ArrayInfo"
32                             number_of_elements_per_command="3"
33                             repeat_command="1"
34                             clean_command="ClearArrayInfo">
35         <Documentation>Set the arrays information (new name and way how to process array: copy origin array with new name or keep existing array and set new name).</Documentation>
36       </StringVectorProperty>
37
38       <StringVectorProperty command="SetComponentInfo"
39                             element_types="2 0 2"
40                             name="ComponentInfo"
41                             number_of_elements_per_command="3"
42                             clean_command="ClearComponentsInfo"
43                             repeat_command="1"> 
44         <Documentation>Set the compoenents information for the array.</Documentation>
45       </StringVectorProperty>
46
47       <PropertyGroup label="List of arrays"
48                      panel_widget="custom_arrays_editor">
49         <Property name="ArrayInfo" function="ArrayInfo" />
50         <Property name="ComponentInfo" function="ComponentInfo"/>
51       </PropertyGroup>
52
53       <Hints>
54         <ShowInMenu category="Filters" icon=":/ArrayRenamerIcons/resources/rename_ico_24x24.png" />
55       </Hints>
56
57     </SourceProxy>
58   </ProxyGroup>
59 </ServerManagerConfiguration>