-
Notifications
You must be signed in to change notification settings - Fork 5
Creating a data form
ValentinoAvonEFSA edited this page Nov 22, 2017
·
6 revisions
A new data form can be created by extending the EFSA-RCL class named TableDialog. In the custom dialog class it will be asked to implement some custom methods, which define the dialog layout, how rows are created (if needed), etc. In order to insert a data table which follows a configuration schema, it is needed to implement the addWidgets method. This method provide the DialogBuilder class, which exposes the method called addTable. This method can be used to insert a new table into the dialog, by specifying the name of the configuration schema you need. For example,
public void addWidgets(DialogBuilder viewer) {
viewer.addTable("YourTableSheetName", true);
}