Perhaps this helps: I've customized my JDE menu like this:
,----
| (add-hook 'jde-entering-java-buffer-hook
| '(lambda ()
| ; add a horizontal line
| (easy-menu-add-item nil '("JDE") "-")
| ; add menu items
| (easy-menu-add-item nil '("JDE")
| (list "Misc"
| ["Complete method at point" jde-complete-at-point t]
| ["Base Class Source..." jde-open-base-class-source t]
| (list "Imports..."
| ["Import class" jde-import-find-and-import t]
| ["Import..." jde-import-import t]
| ["Sort" jde-import-sort t]
| ["Organize" jde-import-organize t]
| ["Extra: Kill" jde-import-kill-extra-imports t]
| ["Extra: Comment out" (jde-import-kill-extra-imports -1) t]
| ["Collaps" jde-import-collapse-imports t]
| )
| ))))
`----
I think you can use easy-menu commands to change/add every menu or
submenu. But there might be better ways, I'm not a lisp guru :-) ...
Burkhard
On Wed, 26 Sep 2001, Niranjan Rao wrote:
> Hi Paul,
>
> Perhaps I was not clear enough or I misunderstood what you are
> saying. I have already tried the approach that you have
> specified. However it lists my templates under other menu where I
> have enter the template name or go for emacs completion. What I want
> to do is to add my template entry in the template generation menu at
> the same level where it shows the entries for Get/Set pair, println
> etc. Can this menu entry be customized ?
>
> This way I can move around the templates that I use frequently in
> the top level menu.
>
> Thanks for the reply,
>
> - Niranjan
>
--
Burkhard Perkens-Golomb mailto: [EMAIL PROTECTED]
sd&m AG http://www.sdm.de
software design & management AG
Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
Tel +49 89 63812-398, Fax -410
Tel Home +49 89 66 00 09 61