Import 2017-06-07 23:51:09: master 6910a59e

Author Committer Branch Timestamp Parent
lassoan lassoan master 2017-05-26 21:11:23 master f7c1e39f
Changeset

ENH: Added schema file support for defining table column properties

Data type, default value, long name, description, unit, and any number of custom properties can now be defined for each column in a vtkMRMLTableNode.

Long name, description, and unit are shown in table view.
Data type is used for creating numeric arrays when reading the table.csv
Default value is used for initializing values in new rows.

Properties are stored in a schema file, which is a CSV or TSV file with the composite file extension .schema.csv (or .schema.csv or .schema.txt) with the same base filename as the data table file.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@26052 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Core/Testing/CMakeLists.txt Diff File
mod - Libs/MRML/Core/Testing/TestData/table.csv Diff File
add - Libs/MRML/Core/Testing/TestData/table.schema.csv Diff File
mod - Libs/MRML/Core/Testing/vtkMRMLTableNodeTest1.cxx Diff File
mod - Libs/MRML/Core/Testing/vtkMRMLTableStorageNodeTest1.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTableNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTableNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLTableStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTableStorageNode.h Diff File
mod - Libs/MRML/Widgets/qMRMLTableModel.cxx Diff File
mod - Modules/Loadable/Tables/Logic/vtkSlicerTablesLogic.cxx Diff File
mod - Modules/Loadable/Tables/Logic/vtkSlicerTablesLogic.h Diff File
mod - Modules/Loadable/Tables/Testing/Cxx/vtkSlicerTablesLogicAddFileTest.cxx Diff File
mod - Modules/Loadable/Tables/Testing/Python/TablesSelfTest.py Diff File
mod - Modules/Loadable/Tables/qSlicerTablesReader.cxx Diff File