Not sure what to suggest. Adding a menu item is covered in the RCP Tutorials. I think a sub menu is a normal kind of menu item you can add?
I seem to recall dynamic menus being added by implementing the fill method based on looking at the current workbench selection. The email list i not a replacement for research but if you like when you find a solution please add it to the docs (it is a wiki and this is a community project). -- Jody Garnett On 08/10/2011, at 8:49 PM, venugopal palapala <[email protected]> wrote: > Jody, > Please provide some suggestions on this. > > Regards, > Venu > > ---------- Forwarded message ---------- > From: venugopal palapala <[email protected]> > Date: Fri, Oct 7, 2011 at 7:55 PM > Subject: Re: [udig-devel] Adding a popup to a newly added Menu > To: User-friendly Desktop Internet GIS <[email protected]> > > > Hi Jody, > > Thanks for the Quick Reply. > > i am adding the new menu and submenu using > <extension > > point="org.eclipse.ui.menus"> > <menuContribution > locationURI="menu:org.eclipse.ui.main.menu?after=additions"> > <menu > id="net.refractions.udig.menu.navigate" > label="Custom" > mnemonic="N"> > <command > commandId="net.refractions.udig.project.ui.addLayerCommand" > label="Add User" > style="push"> > </command> > </menu> > </menuContribution> > </extension> > > Now, for the Add User button i need a popup. > please provide me a solution for this. > > Thanks, > Venu > > > > On Wed, Oct 5, 2011 at 9:34 PM, Jody Garnett <[email protected]> wrote: > Your action should open a dialog. Have a look at the CRS dialog for the map > for a quick example. > > -- > Jody Garnett > > On 06/10/2011, at 1:14 AM, venugopal palapala <[email protected]> wrote: > > > Hi, > > > > i would like to add a new menu to the exiting one. which i am able to do. > > now, i want to add a popup once the user clicks on it. (e.g : popup should > > ask for some username and password info). > > > > could some one gives info on this. > > > > Thanks, > > Venu > > > > > > > > _______________________________________________ > > User-friendly Desktop Internet GIS (uDig) > > http://udig.refractions.net > > http://lists.refractions.net/mailman/listinfo/udig-devel > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
