jhickman / gxt-uibinder

Automatically exported from code.google.com/p/gxt-uibinder
0 stars 0 forks source link

Support other Menu types in Buttons #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Google groups discussion:

Slightly off topic, but is there a reason you followed that convention 
for button menus?  I'm looking at making a patch to support custom 
menu types and I see two ways of doing it.  1) Add a type attribute to 
the menu element.  2) Replace the menu element with simply accepting 
<menu:Menu> elements so <menu:ColorMenu> and the like could be used. 
1 sticks with your convention for border layout, which would be good 
if there was a specific reason for it.  2 follows the general usage of 
UiBinder which you also use for MenuBar. 

Original issue reported on code.google.com by jus...@jhickman.com on 18 Mar 2011 at 4:21

GoogleCodeExporter commented 9 years ago
Added support. Will be available in next release.  Old way of adding menus has 
been deprecated.  warning messages will appear on compilation.

Original comment by jus...@jhickman.com on 18 Mar 2011 at 4:52