Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Given: Schema
Result: New Structure
The annotation wizard offers the option to create an instance of a schema. Since it starts with a code selection, first the schema must be selected manually (cf. the combo box in the lower part). The check box is used to trigger a new instantiation:
The wizard instantiates the selected structure with the given name and the given attributes. The new structure is not made persistent after finishing the wizard, but the new structure instance is part of the model on both Java and Prolog levels.
In repair/elementary_actions.pl:
instantiate_schema(+Schema, +StructureName)
This call updates the runtime fact base but does not persist the new structure.
In org.cs3.patchwork.facade.FacadeToProlog:
createNewStructureInstance(String, String)
This call updates the runtime fact base but does not persist the new structure.