Of course. Create your own menu (say com.something.Menu along with Menu.ui.xml), and then in the composite component:
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:my='urn:import:com.something'> <g:HTMLPanel> Hello world! <my:Menu /> </g:HTMLPanel> </ui:UiBinder>
here is another example
source share