Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Last recently used files implementation
Last recently used files implementation [message #47225] Sat, 24 May 2003 13:39 Go to next message
Taeke Kooiker is currently offline Taeke KooikerFriend
Messages: 8
Registered: July 2009
Junior Member
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 06:50 Go to previous messageGo to next message
Taeke Kooiker is currently offline Taeke KooikerFriend
Messages: 8
Registered: July 2009
Junior Member
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 17: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 08:08 Go to previous message
Taeke Kooiker is currently offline Taeke KooikerFriend
Messages: 8
Registered: July 2009
Junior Member
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: Mon Dec 30 14:33:08 GMT 2024

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

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

Back to the top