Hi walter!
I am trying to use a TreeExpanderButton in an Adornment that is shown when a node is selected. Everything seems to work well so far, except for the fact that the button state is always collapsed [-]. This is how I trigger the Adornment:
if (node.isSelected) {
nodeToolsAdornment.adornedObject = node;
nodeToolsAdornment.data = node.data;
node.addAdornment("nodeTools", nodeToolsAdornment);
It seems that the button cannot bind to the right isTreeExpanded property. Any hint?