This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58888 - Need action providing menu of recently edited files
Summary: Need action providing menu of recently edited files
Status: RESOLVED DUPLICATE of bug 2710
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 17:35 UTC by _ gordonp
Modified: 2008-12-22 15:59 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2005-05-13 17:35:44 UTC
This action is needed by the deimos prototype and is being implemented on
the deimos branch by the deimos team.

The action will add a pull-right menu to the File menu which lists recently
edited files. Files will be added to the list from several methods in
DataEditorSupport. The list is finite (currently hard-coded to 10). The
list is provided by org.openide.util.RecentFilesList (derived from a new
abstract class org.openide.util.LRUList). The action is provided by
org.openide.actions.RecentFilesAction.

The org.openide.util.RecentFilesValidator interface allows other classes
veto power over which edited files get added to the list. The expected use
for this veto would be debuggers which might not want every file stepped
into added to the list. Files explicitly opened should be added to the list
(no NetBeans classes have been modified to implement this interface, the
deimos team is using it with a closed source debugger).

One other note. The action is NOT being added to any NetBeans layer files.
The Deimos team has added it in a branding module.
Comment 1 _ gordonp 2005-05-13 17:37:20 UTC
Checking initial implementation into deimos branch.
Comment 2 Thomas Preisler 2006-02-20 20:23:24 UTC
we need this fixed in promo H.
Comment 3 Marian Mirilovic 2006-08-08 08:45:00 UTC

*** This issue has been marked as a duplicate of 2710 ***
Comment 4 Thomas Preisler 2006-10-24 00:51:25 UTC
making this a p2 and a candidate for backport to release55-mars branch.
Comment 5 Antonin Nebuzelsky 2006-12-01 13:05:45 UTC
Removing MARS keyword. Issue 2710 was fixed instead and its porting to 5.5.1
will be considered.