]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Port TableReader plugin to PV4.1 to avoid boring warning message at startup of ParaViS.
authorgeay <anthony.geay@cea.fr>
Tue, 8 Apr 2014 06:26:47 +0000 (08:26 +0200)
committergeay <anthony.geay@cea.fr>
Tue, 8 Apr 2014 06:26:47 +0000 (08:26 +0200)
src/Plugins/TableReader/ParaViewPlugin/Resources/TableReader.qrc
src/Plugins/TableReader/ParaViewPlugin/Resources/TableReaderClient.xml [deleted file]
src/Plugins/TableReader/ParaViewPlugin/Resources/TableReaderServer.xml

index 1ee5f3af0a8c034c023526d4a76fdfb711928825..ab4126312273bd0366d8546741313cd6be4df173 100644 (file)
@@ -1,5 +1,4 @@
 <RCC>
     <qresource prefix="/ParaViewResources">
-        <file>TableReaderClient.xml</file>
     </qresource>
 </RCC>
diff --git a/src/Plugins/TableReader/ParaViewPlugin/Resources/TableReaderClient.xml b/src/Plugins/TableReader/ParaViewPlugin/Resources/TableReaderClient.xml
deleted file mode 100644 (file)
index 7fdc1fb..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<ParaViewReaders>
-  <Reader name="TableReader"
-     extensions="tab txt xls"
-     file_description="Post-Pro Table Files">
-  </Reader>
-</ParaViewReaders>
index 896674edf2b8afa204d1870b9ea963f647793a33..db7b39348b8b25a81125a0ada248ad2493ce5f9b 100644 (file)
@@ -5,6 +5,12 @@
       class="vtkVisuTableReader"
       label="Table Reader">
       
+      <Hints>
+       <ReaderFactory extensions="tab txt xls"
+                      file_description="Post-Pro Table Files">
+       </ReaderFactory>
+      </Hints>
+
       <StringVectorProperty
          name="FileName"
         command="SetFileName"