aspose 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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Context Menu on Tree in GWT 2.0.3