pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edvin Syse <ed...@sysedata.no>
Subject Re: Avoid "double click signal" when expanding and collapsing a branch in a TreeViewer
Date Wed, 15 Jun 2011 13:45:52 GMT

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 :)

Mime
View raw message