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.
Favorites.ProjectFilterNode.createActionsForFile silently deletes unrecognized actions, e.g. Run Targets from Ant build scripts. Must never remove actions from the original node unless you are sure what you are doing. Should have an assert that the returned actions are a superset of the original actions. Even deletes actions like Run from *subnodes*, which is completely gratuitous - should not touch nodes beneath a file's node delegate, there is no need to have a special FilterNode for anything beneath the data node level. Bug makes it impossible to run any Ant scripts via the Favorites tab, i.e. any scripts not inside a project. Only known workaround: install apisupport and Bean Browse Node on an Ant script, get the original node, and run the actions from there.
I have list of actions which should be on nodes in Favorites tab in UI spec => all other actions are now filtered out. Jano what to do? Shall I not filter any actions on Folder and File nodes in Favorites tab? (Tools action is present.)
IMHO: do not filter out any actions unless specifically instructed to do so by the UI spec. The context menu in the UI spec should be considered an illustration only.
Fixed in main trunk. No actions from undelying nodes are filtered out. Only actions 'Add to Favories' or 'Remove from Favorites' are added. Modified: core/favorites/src/org/netbeans/modules/favorites/Favorites.java r.1.12
Verified on trunk 4.2: >Log Session: Thursday, July 7, 2005 10:34:42 AM CEST >System Info: Product Version = NetBeans IDE Dev (Build 2.1) Operating System = SunOS version 5.9 running on sparc Java; VM; Vendor = 1.5.0_03; Java HotSpot(TM) Client VM 1.5.0_03-b07; Sun Microsystems Inc.