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
IContributionItem reEdit = ContributionItemFactory.REOPEN_EDITORS.create(window);
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?