]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.ui.ontology/graph/DocumentUI.pgraph
Added org.simantics.views.text[.ontology] for modelled source viewers
[simantics/platform.git] / bundles / org.simantics.document.ui.ontology / graph / DocumentUI.pgraph
index 3ac065d5e5ef78299553b91710f9538720db247c..b06a314a38fa29ac97f93c484fd7d42b434e91d2 100644 (file)
@@ -1,5 +1,6 @@
 L0 = <http://www.simantics.org/Layer0-1.1>
 VIEWS = <http://www.simantics.org/Views-1.2>
+TEXTVIEWS = <http://www.simantics.org/TextViews-1.0>
 SG = <http://www.simantics.org/Scenegraph-1.1>
 DOC = <http://www.simantics.org/Document-1.2>
 ACT = <http://www.simantics.org/Action-1.1>
@@ -40,11 +41,6 @@ UI.WikitextContribution.View : VIEWS.Composite
     @L0.list
       _ : VIEWS.Composite
         VIEWS.Composite.layout _ : VIEWS.RowLayout
-          //VIEWS.RowLayout.type VIEWS.Control.Style.Constant.Horizontal
-          //VIEWS.RowLayout.spacing 0
-          //VIEWS.RowLayout.justify true
-          //VIEWS.RowLayout.pack true
-          //VIEWS.RowLayout.wrap true
         VIEWS.Control.layoutData _ : VIEWS.GridLayout.GridData
           VIEWS.GridLayout.GridData.horizontalGrab true
         SG.Node.children _ : L0.List
@@ -159,7 +155,7 @@ UI.WikitextContribution.View : VIEWS.Composite
         VIEWS.Composite.layout _ : VIEWS.GridLayout
         SG.Node.children _ : L0.List
           @L0.list
-            UI.WikitextContribution.View.Text : VIEWS.StyledText
+            UI.WikitextContribution.View.Text : TEXTVIEWS.MarkupSourceViewer
               @VIEWS.Control.style4 VIEWS.Control.Style.Constant.Multi VIEWS.Control.Style.Constant.Border VIEWS.Control.Style.Constant.VScroll VIEWS.Control.Style.Constant.HScroll
               VIEWS.TextContainer.text UI.Functions.selectedDocumentPart : L0.Function
                 L0.HasValueType "String"
@@ -200,13 +196,6 @@ UI.Sash : VIEWS.SashForm
   VIEWS.SashForm.orientation VIEWS.SashForm.Vertical
   SG.Node.children _ : L0.List
     @L0.list
-//      UI.Scroll : VIEWS.ScrolledComposite
- //       VIEWS.Control.layoutData
- //         _ : VIEWS.GridLayout.GridData
- //           VIEWS.GridLayout.GridData.horizontalGrab true
- //           VIEWS.GridLayout.GridData.verticalGrab true
- //       SG.Node.children _ : L0.List
- //         @L0.list
       UI.Browser : VIEWS.Browser
         VIEWS.Control.layoutData
           _ : VIEWS.GridLayout.GridData