opencaesar / oml-vision

A VS Code extension providing UI viewpoints for OML models
Other
4 stars 2 forks source link

Property Sheet for Every Selected Element in Webview #29

Closed pogi7 closed 5 months ago

pogi7 commented 6 months ago

Checklist before submitting a feature request

Is your feature request related to a problem? If yes, describe the problem

Get General properties for a selected component

Describe the desired feature

When I select a component or element in a table, tree, or diagram I want to be able to display the properties for that element in the UI. Users should be able to update the property from there.

Additional context

Verification in Fuseki UI

Find general properties for components

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX base:        <http://example.com/tutorial2/vocabulary/base#>
PREFIX mission:     <http://example.com/tutorial2/vocabulary/mission#>
PREFIX components:  <http://example.com/tutorial2/description/components#> 
PREFIX vim4:        <http://bipm.org/jcgm/vim4#>

Select * 
{
  ?prop rdfs:domain base:IdentifiedThing .
}

Find all properties in OML model

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX base:        <http://example.com/tutorial2/vocabulary/base#>
PREFIX mission:     <http://example.com/tutorial2/vocabulary/mission#>
PREFIX components:  <http://example.com/tutorial2/description/components#> 
PREFIX vim4:        <http://bipm.org/jcgm/vim4#>

Select * 
{
  ?prop rdfs:range ?type .
}