]> gerrit.simantics Code Review - simantics/platform.git/commit
Performance optimizations for NatTableGraphExplorer 93/4693/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 13 Apr 2021 06:23:47 +0000 (09:23 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 13 Apr 2021 06:40:18 +0000 (06:40 +0000)
commit7018c62d56cf7ac26973d40b01027c2c050cc4d1
tree0f83acd7e783c55ec0434fc528751559d53a6e0f
parent7dffec3cc59c7ffd73e47e5ee2d9c1e21b1a0537
Performance optimizations for NatTableGraphExplorer

Fine tuned dispose logic to avoid single item removals when whole GE is
disposed.

Node expand was causing unnecessary events, when it tried to expand
non-expandable node.

#692

Change-Id: I06938693af2b28dc51b5d2d5a0269cfde7121fc7
(cherry picked from commit d7ce5ab37a70cf207e3bfe0045c0df3f1fb98415)
bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/NatTableGraphExplorer.java
bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/TreeNode.java
bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/override/TreeLayer2.java