Skip to content

Commit

Permalink
simplify propertyLayouts.json
Browse files Browse the repository at this point in the history
Signed-off-by: pogi7 <aaronlevitt7@gmail.com>
  • Loading branch information
pogi7 committed Mar 20, 2024
1 parent 2aee3b2 commit 586e9f7
Showing 1 changed file with 1 addition and 48 deletions.
49 changes: 1 addition & 48 deletions src/vision/viewpoints/properties/propertyLayouts.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,16 @@
"label": "General",
"sparqlQuery": "general-properties.sparql",
"icon": "IconSettings",
"domainClass": "oml.iddInstance",
"preconditionExpression": "tablePath != \"PEL\" && tablePath != \"MEL\" && tablePath != \"wbs\"",
"groups": [
{
"id": "instance",
"label": "Instance",
"domainClass": "oml.ConceptInstance",
"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",
"isEnabledExpression": "aql:self.isEditable()",
"initialOperation": {
"firstModelOperations": {
"type": "tool:ChangeContext",
"browseExpression": "aql:self.oclAsType(oml::ConceptInstance).setPropertyValue('label'.rdfsIri(), newValue)"
}
}
"helpExpression": "A label can provide a human-readable id for model objects that have assigned ids that might be less readable"
},
{
"type": "text",
Expand All @@ -37,48 +27,11 @@
"type": "text",
"id": "name",
"label": "Name",
"required": true,
"helpExpression": "Lists zero or more model types that this instance specializes. Such supertypes carry inherited properties or relations in the model."
}
]
}
]
},
{
"id": "functionFilters",
"label": "Function Filters",
"sparqlQuery": "functionFiltersProperties",
"icon": "IconFilter",
"domainClass": "oml.Element",
"preconditionExpression": "tablePath == 'function-list'",
"groups": []
},
{
"id": "assemblyFilters",
"label": "Assembly Filters",
"sparqlQuery": "assemblyFiltersProperties",
"icon": "IconFilter",
"domainClass": "oml.Element",
"preconditionExpression": "tablePath == 'assemblies'",
"groups": []
},
{
"id": "main",
"label": "Main",
"sparqlQuery": "requirement-properties.sparql",
"icon": "IconChecklist",
"domainClass": "",
"preconditionExpression": "",
"groups": []
},
{
"id": "semantic",
"label": "Semantic",
"sparqlQuery": "semanticProperties",
"icon": "IconLink",
"domainClass": "",
"preconditionExpression": "",
"groups": []
}
]
}

0 comments on commit 586e9f7

Please sign in to comment.