|Custom MRU list [message #909459]
||Fri, 07 September 2012 07:18
| Cedric Moonen
Registered: August 2009
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, ...) ?
Powered by FUDForum
. Page generated in 0.03163 seconds