Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Custom MRU list
Custom MRU list [message #909459] Fri, 07 September 2012 07:18
Cedric Moonen is currently offline Cedric MoonenFriend
Messages: 274
Registered: August 2009
Senior Member

My application can load files which contain a list of elements that can be edited. The application can load one file at a time and displays the list of element in a view. When double-clicking on an element, it can be edited via its editor. So, in fact, opening such a file is more or less similar as switching workspace in Eclipse (you don't open the file in an editor but you reload the contents of the file to populate the application).

I would like to have the concept of MRU but not based on editors which were opened but rather on the files which were opened.

How could I achieve something like that ? As far as I understood, MRU is managed IEditorInput (not fully sure here, I couldn't find too much info about that).
Do I have to manage the MRU myself (each time a file is opened, persist the path, then update the MRU list manually, ...) ?

Previous Topic:JUNO - Changes to Class Perspective
Next Topic:SqlStatementArea (sourceviewer) code completion doesn't work
Goto Forum:

Current Time: Wed Feb 28 17:13:57 GMT 2024

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

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

Back to the top