]> gerrit.simantics Code Review - simantics/platform.git/commit
NatTable based graph explorer omits background decoration. 12/4912/2
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 28 Apr 2022 10:18:40 +0000 (13:18 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 28 Apr 2022 10:35:00 +0000 (10:35 +0000)
commitc161686d5f46e5d4715be7b001a890f4e72ab66a
treeb3e32b818533c18864d701b719788796fe086cea
parent55c756595b16f2374bfb553542d208f13114a81d
NatTable based graph explorer omits background decoration.

With trees, it is not enough to override just BODY style. Also
EVEN_STYLE and ODD_STYLE must be overridden.
Re-use existing style values when possible, so that GE contributions do
not erase default styles, like even/odd row coloring.

refs #830

Change-Id: Ibafd6ed72a1b2db62edb540bbfdefd2df8fa3200
bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/GEStyler.java
bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/TreeNode.java