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 Murach's Java Servlets and JSP this week in the Servlets 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: 32

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

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
 
 
subject: Context Menu on Tree in GWT 2.0.3
 
Similar Threads
Mouse click on richfaces:tree
Expand and Fold GWT Tree
add any application to the Context Menu when you right click on any Folder
Sample code to drag drop buttons in Applet
how to make the border of tree widget invisible