Thanks, I updated the TerraTableViewSkin to listen only to the left mouse button. Just FYI you need to update both mouseClick() and mouseDown(). Indeed mouseDown() triggers a selection with both mouse button. In my case the selection starts a new rowEditor so I had to change mouseDown() to repond to left click only.
Greg Brown-2 wrote: > > The problem is that TerraTableViewSkin initiates the edit in mouseClick() > without regard for which button was pressed. That should probably be fixed > to only initiate the edit on left-click (same for ListView and TreeView). > > Are you able to build from source? If so, could you try making this change > and see if it resolves your problem? > > On Apr 26, 2011, at 2:40 PM, lello wrote: > >> The problem with this point is that the roweditor shows up with a click >> on >> the right button of the mouse, >> and I'd like it to respond only to the left button. What method shall I >> overwrite to do that? >> >> >> Greg Brown-2 wrote: >>> >>>> Also, is it possible to trigger a context menu on a tableView when a >>>> TableViewRowEditor is open? >>> >>> It is, but opening a menu and row editor simultaneously may not produce >>> the best user experience unless you make the row editor window the >>> menu's >>> owner. >>> >> >> >> >> -- >> View this message in context: >> http://apache-pivot-users.399431.n3.nabble.com/Disable-Menu-Item-tp2865710p2866833.html >> Sent from the Apache Pivot - Users mailing list archive at Nabble.com. > -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Disable-Menu-Item-tp2865710p2866973.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
