Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Get list of Recently Opened File & display it in a dialog
Get list of Recently Opened File & display it in a dialog [message #775309] Thu, 05 January 2012 13:46 Go to next message
Eclipse UserFriend
I am creating an RCP application where I need to read the list of Recently Opened Files and display it in a dialog.

I have tried using
<code>
IContributionItem reEdit = ContributionItemFactory.REOPEN_EDITORS.create(window);
</code>

but the history attribute is private so not accessible.

However, when my RCP app start, it displays empty list (in debugging). How to make it to be saved in the preferences to be retrieved after restart as well.

Any pointers on how it can be done?
Re: Get list of Recently Opened File & display it in a dialog [message #775692 is a reply to message #775309] Fri, 06 January 2012 09:27 Go to previous message
Eclipse UserFriend
You must have your workbench configurer save and restore set to true to persist state between sessions.

PW
Previous Topic:Scrolledcomposite eating up more than half of the inner composite.
Next Topic:Dynamically add/remove columns from a table?
Goto Forum:
  


Current Time: Wed Jul 23 00:28:28 EDT 2025

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

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

Back to the top