Skip to content

Introduce CompressibleObjectTree - #77876

Merged
João Moreno (joaomoreno) merged 23 commits into
masterfrom
joao/compressed-trees
Sep 13, 2019
Merged

João Moreno (joaomoreno) merged 23 commits into
masterfrom
joao/compressed-trees

Conversation

@joaomoreno

Copy link
Copy Markdown
Contributor

Details:

  • To facilitate adoption, it should be as similar to ObjectTree as possible with the following differences:
    • It demands renderers which know how to render compressed elements
    • It has an utility method to return the compression group an element might be in
  • It should have a enableCompression property which can be toggled at runtime
    • Note that focus/selection might change when this property is toggled
  • It is sightly more expensive than using the ObjectTree directly, since every element, even if uncompressed, is wrapped by a ICompressedTreeNode, so remember to recommend using the ObjectTree if compression isn't required

@joaomoreno João Moreno (joaomoreno) added the tree-widget Tree widget issues label Jul 24, 2019
@joaomoreno João Moreno (joaomoreno) added this to the July 2019 milestone Jul 24, 2019
@joaomoreno João Moreno (joaomoreno) changed the title Introduce CompressibleObjectTree Introduce CompressibleObjectTree Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tree-widget Tree widget issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants