X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.selectionview.ui.ontology%2Fgraph%2FSelectionViewUi.pgraph;fp=bundles%2Forg.simantics.selectionview.ui.ontology%2Fgraph%2FSelectionViewUi.pgraph;h=0fb82a9aff0c9dccd806b234e201a957dcd3ef81;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.selectionview.ui.ontology/graph/SelectionViewUi.pgraph b/bundles/org.simantics.selectionview.ui.ontology/graph/SelectionViewUi.pgraph new file mode 100644 index 000000000..0fb82a9af --- /dev/null +++ b/bundles/org.simantics.selectionview.ui.ontology/graph/SelectionViewUi.pgraph @@ -0,0 +1,118 @@ +L0 = +L0X = +VP = +VIEW = +MOD = + +SEL_BASE = : L0.Ontology + +SEL = : L0.Ontology + @L0.new + L0.HasResourceClass "org.simantics.selectionview.ui.ontology.SelectionViewUIResources" + +SEL.CategoryNode : VP.NodeType + VP.HasContentType "org.simantics.selectionview.CategoryNode" + VP.HasBundle "org.simantics.selectionview" + +SEL.CategoryNodeLabelRule : VP.LabelRule +SEL.CategoryDecorationRule : VP.ConstantLabelDecorationRule + VP.ConstantLabelDecorationRule.HasStyle "B" + +SEL.VariableDecorationRule : VP.ConstantLabelDecorationRule + VP.ConstantLabelDecorationRule.HasFormat " %s" + +SEL.VariableColoringDecorationRule : VP.LabelDecorationRule + +SEL.VariablePropertyCategoryRule -- SEL_BASE.getSpecialCategory + +SEL.StandardPropertySorterRule : SEL.StandardPropertySorterRuleType + +SEL.PropertyColumn + @VIEW.Explorer.Column.full "HasDisplayProperty" "Property" "LEFT" 150 "The name of the property" true 1 +SEL.ValueColumn + @VIEW.Explorer.Column.full "HasDisplayValue" "Value" "RIGHT" 60 "The representation of the property value" true 1 +SEL.UnitColumn + @VIEW.Explorer.Column.full "HasDisplayUnit" "Unit" "LEFT" 60 "The selected unit for the value" false 0 + +SEL.StandardPropertiesBase