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 199343 - FileSystemAction.createMenu(...) - lookup(DataObject) fallback
Summary: FileSystemAction.createMenu(...) - lookup(DataObject) fallback
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2011-06-10 17:24 UTC by Tomas Stupka
Modified: 2011-06-21 14:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch (5.57 KB, patch)
2011-06-10 17:24 UTC, Tomas Stupka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2011-06-10 17:24:14 UTC
Created attachment 108844 [details]
patch

org.openide.actions.FileSystemAction creates a menu based exclusively on nodes in the given lookup. This isn't sufficient anymore in case of a multiviews context menu where the loopup contains no nodes.

see attached patch for the suggested fix
Comment 1 Tomas Stupka 2011-06-20 14:16:39 UTC
wil integrate tomorrow in case no objections are raised
Comment 2 Tomas Stupka 2011-06-21 14:45:31 UTC
fixed core-main #0dbd13c2784d