The propertyLayouts.json file is already present, but verify that following JSON is defined in the src/vision/viewpoints/properties/propertyLayouts.json file.
{
"pages": [
{
"id": "general",
"label": "General",
"sparqlQuery": "general-properties.sparql",
"icon": "IconSettings",
"groups": [
{
"id": "instance",
"label": "Instance",
"controls": [
{
"type": "text",
"id": "id",
"label": "Label",
"helpExpression": "A label can provide a human-readable id for model objects that have assigned ids that might be less readable"
},
{
"type": "text",
"id": "anyIri",
"label": "IRI",
"readOnly": true,
"helpExpression": "This is the model-assigned element identifier. Every model element has this unique identifier"
},
{
"type": "text",
"id": "name",
"label": "Name",
"helpExpression": "Lists zero or more model types that this instance specializes. Such supertypes carry inherited properties or relations in the model."
}
]
}
]
}
]
}
Verify that if you open the Objectives table and click the first row, this property sheet pops up (BUG: you may need to click on the row multiple times for the sheet to render properly)
Verify that if you open the Missions tree and click the first row, this property sheet pops up (BUG: you may need to click on the row multiple times for the sheet to render properly)
Verify that if you open the Components diagram and click the C.02.09 node, this property sheet pops up (BUG: you may need to click on the node multiple times for the sheet to render properly)
Checklist before submitting a merge request
Description of contribution
Opens a property sheet when selecting an element in OML Vision
closes https://github.com/opencaesar/oml-vision/issues/29
Testing performed
How to Test Expected functionality changes
OML Model:
propertyLayouts.json
file is already present, but verify that following JSON is defined in thesrc/vision/viewpoints/properties/propertyLayouts.json
file.Objectives
table and click the first row, this property sheet pops up (BUG: you may need to click on the row multiple times for the sheet to render properly)Missions
tree and click the first row, this property sheet pops up (BUG: you may need to click on the row multiple times for the sheet to render properly)Components
diagram and click theC.02.09
node, this property sheet pops up (BUG: you may need to click on the node multiple times for the sheet to render properly)Additional context