Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Last recently used files implementation
Last recently used files implementation [message #47225] Sat, 24 May 2003 09:39 Go to next message
Eclipse UserFriend
How can you implement a menu like the last recently used files in the file
menu. I need to program a menu where menuitems can be added when the
plugin is already running. I can make a menu with items, but can't add
items later on. Any help is appreciated.
Re: Last recently used files implementation [message #48846 is a reply to message #47225] Tue, 27 May 2003 02:50 Go to previous messageGo to next message
Eclipse UserFriend
Of course this has to be Most Recently Used files...

> How can you implement a menu like the last recently used files in the file
> menu. I need to program a menu where menuitems can be added when the
> plugin is already running. I can make a menu with items, but can't add
> items later on. Any help is appreciated.
Re: Last recently used files implementation [message #54399 is a reply to message #47225] Thu, 29 May 2003 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: knut_radloff.oti.com

The MRU list in the File menu is implemented in org.eclipse.ui.internal.ReopenEditorMenu. You can use that as an example. You can
also register an IMenuListener and populate the menu in menuAboutToShow as is done in the WorkingSetFilterActionGroup.

Knut
"Taeke Kooiker" <Taeke.Kooiker@cwi.nl> wrote in message news:banslq$7le$1@rogue.oti.com...
> How can you implement a menu like the last recently used files in the file
> menu. I need to program a menu where menuitems can be added when the
> plugin is already running. I can make a menu with items, but can't add
> items later on. Any help is appreciated.
>
Re: Last recently used files implementation [message #58579 is a reply to message #54399] Mon, 02 June 2003 04:08 Go to previous message
Eclipse UserFriend
Thanks, I'll explore the source code.


Knut Radloff wrote:

> The MRU list in the File menu is implemented in
org.eclipse.ui.internal.ReopenEditorMenu. You can use that as an example. You
can
> also register an IMenuListener and populate the menu in menuAboutToShow as
is done in the WorkingSetFilterActionGroup.

> Knut
> "Taeke Kooiker" <Taeke.Kooiker@cwi.nl> wrote in message
news:banslq$7le$1@rogue.oti.com...
> > How can you implement a menu like the last recently used files in the file
> > menu. I need to program a menu where menuitems can be added when the
> > plugin is already running. I can make a menu with items, but can't add
> > items later on. Any help is appreciated.
> >
Previous Topic:CVS ignores $Date$
Next Topic:Accesing version info....
Goto Forum:
  


Current Time: Sun Apr 27 11:46:20 EDT 2025

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

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

Back to the top