Class

DisplayData

DisplayData(props) → {React.Component}

Overview

The data tab in RuleStudio. Presents the list of all objects (and attributes) from information table, allows to add, remove and edit them.
Constructor

# new DisplayData(props) → {React.Component}

Parameters:
Name Type Description
props Object

Arguments received from the parent component

project Object

Holds data about the current project like id, name and everything associated with the project e.g. information table, unions, cones etc.

informationTable Object

InformationTable received from and sent to the server, holds attributes and objects

project.informationTable.attributes Array

Attributes (metadata, might be empty)

project.informationTable.objects Array

Objects (data, might be empty)

onDataChange function

Callback method responsible for updating the informationTable in the parent component (which is ProjectTabs.js)

updateProject function

Callback method responsible for updating the whole project (kept in App.js)

View Source Body/Project/Data/DisplayData.js, line 180

React.Component