Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EGL Development Tools » DojoMenu-submenu(how to create DojoMenu SubMenu items)
DojoMenu-submenu [message #918061] Thu, 20 September 2012 17:52 Go to next message
Bob NIcholson is currently offline Bob NIcholsonFriend
Messages: 62
Registered: December 2011
Location: Seattle
Member
Hi,

I would like to add a sub menu to a DojoMenu. Does anyone have a example of this?

Thanks

Bob

This is the current definition of my menu. I would like to add two sub items to Menu Item 2.

Menu DojoMenu{layoutData = new GridLayoutData{row = 1, column = 3}, text = "Menu", 
    			children =[
                    new DojoMenuItem{text = "Menu Item 1"},                     
                    new DojoMenuItem{text = "Menu Item 2"},
                    new DojoMenuItem{text = "seperator"},
                    new DojoMenuItem{text = "Menu Item 3"}
                                ]
                };

[Updated on: Thu, 20 September 2012 17:56]

Report message to a moderator

Re: DojoMenu-submenu [message #918069 is a reply to message #918061] Thu, 20 September 2012 18:03 Go to previous messageGo to next message
Brian Svihovec is currently offline Brian SvihovecFriend
Messages: 55
Registered: July 2009
Member
Bob,

Check out the DojoMenuSample - eclipse.org/downloads/download.php?file=/edt/samples/0.8.1/org.eclipse.edt.rui.dojo.samples_0.8.1.zip

(Search www.eclipse.org/edt/#doc for instructions on setting up the sample).

-Brian
Re: DojoMenu-submenu [message #918090 is a reply to message #918069] Thu, 20 September 2012 18:29 Go to previous message
Bob NIcholson is currently offline Bob NIcholsonFriend
Messages: 62
Registered: December 2011
Location: Seattle
Member
Thank you Brian. That helped me get it working.

Bob

Previous Topic:"Cannot create PoolableConnectionFactory" error in "RUI with Database" tutorial
Next Topic:jar file placement
Goto Forum:
  


Current Time: Thu Oct 10 04:38:47 GMT 2024

Powered by FUDForum. Page generated in 0.04042 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top