Den 15.06.2011 15:41, skrev Chris Bartlett:
I just took a *very* quick look at the Kitchen Sink demo, and it seems to handle this scenario OK.
http://pivot.apache.org/demos/kitchen-sink.html

Are you using a TreeView.NodeEditor, or have you rolled your own solution?
http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/TreeView.NodeEditor.html
http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/TreeView.html#setNodeEditor(org.apache.pivot.wtk.TreeView.NodeEditor) <http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/TreeView.html#setNodeEditor%28org.apache.pivot.wtk.TreeView.NodeEditor%29>

Chris
I realize I wasn't completly clear. Double click doesn't open a node editor, it opens a BoxPane in a neighbouring TabPane, it doesn't change anything in the TreeView. I'll have a look at the kitchen sink demo code, as you say it seems to handle it somehow :)

Reply via email to