]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/adapters.xml
Possibility to define label color decorator rules in SCL
[simantics/platform.git] / bundles / org.simantics.modeling / adapters.xml
index 0e104229aaee577d25d988f58be4e1863e6f0597..7693586d8029b79dcb5ccc80d838e3821644e791 100644 (file)
         </type>
     </target>    
 
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <type uri="http://www.simantics.org/Modeling-0.0/SCLLabelForegroundColorRule"
+            class="org.simantics.modeling.adapters.SCLLabelForegroundColorRule">
+            <graph />
+            <this />
+        </type>
+    </target>
+
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <type uri="http://www.simantics.org/Modeling-0.0/SCLLabelBackgroundColorRule"
+            class="org.simantics.modeling.adapters.SCLLabelBackgroundColorRule">
+            <graph />
+            <this />
+        </type>
+    </target>
+
     <target interface="org.simantics.browsing.ui.model.tests.Test">
         <type uri="http://www.simantics.org/Modeling-0.0/SCLTest"
             class="org.simantics.modeling.adapters.SCLTest">