Salome HOME
18f1f1d8f027fb793632f1fe3b71f7260832c0b5
[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         <RequiredProperties>
37             <Property function="Input" name="Input" />
38         </RequiredProperties>
39       </StringVectorProperty>
40
41       <StringVectorProperty command="SetComponentInfo"
42                             element_types="2 0 2"
43                             name="ComponentInfo"
44                             number_of_elements_per_command="3"
45                             clean_command="ClearComponentsInfo"
46                             repeat_command="1"> 
47         <Documentation>Set the compoenents information for the array.</Documentation>
48         <RequiredProperties>
49             <Property function="Input" name="Input" />
50         </RequiredProperties>
51       </StringVectorProperty>  
52
53       <PropertyGroup label="List of arrays"
54                      panel_widget="custom_arrays_editor">
55         <Property name="ArrayInfo" function="ArrayInfo" />
56         <Property name="ComponentInfo" function="ComponentInfo"/>
57       </PropertyGroup>
58
59       <Hints>
60         <ShowInMenu category="Filters" icon=":/ArrayRenamerIcons/resources/rename_ico_24x24.png" />
61       </Hints>
62
63     </SourceProxy>
64   </ProxyGroup>
65 </ServerManagerConfiguration>