File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes Context Menu on Tree in GWT 2.0.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Context Menu on Tree in GWT 2.0.3" Watch "Context Menu on Tree in GWT 2.0.3" New topic
Author

Context Menu on Tree in GWT 2.0.3

Ganesh Shirsat
Ranch Hand

Joined: Jan 10, 2010
Posts: 33

hi friends,

GWT 2.0.3
Feature :
1. it's not allow to select the tree using right click.


I am try to use the Context menu on tree or TreeItem using
onBrowserEvent event.
but there is no TreeItem is selected on right click of treeitem.


how to achieve the context menu features in GWT 2.0.3

thanks,
Ganesh Shirsat
Vivek Kumar
Greenhorn

Joined: Aug 05, 2006
Posts: 17
Proabably extend the TreeItem class if GWT 2.x allows you to do so
Ganesh Shirsat
Ranch Hand

Joined: Jan 10, 2010
Posts: 33

hi,

TreeItem class not support the onBrowserEvent method.

because it is inherited from UIObject and onBrowServerEvent is not a part of UIObject class.

thanks,
Ganesh Shirsat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Context Menu on Tree in GWT 2.0.3