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.
[nb_dev](200408051800) http://ui.netbeans.org/nonav/docs/ui/favorites/favorites-ui-spec.html#Contextual_Menu_Favorite_Folder ========================== 1. favorite folder contextual menu : New > ---------------------------- Refresh Folder (this isn't in UI spec but think it's usefull) --------------------------- Find... ---------------------------- Remove from Favorites ---------------------------- Cut (REMOVE) Copy Paste (REMOVE) ---------------------------- Delete (REMOVE) Rename (REMOVE) ---------------------------- Tools > ---------------------------- Properties ======================= 2. favorite file contextual menu : Open ---------------------------- Compile File (REMOVE) ---------------------------- Run File (REMOVE) Debug File (REMOVE) ---------------------------- Remove from Favorites ---------------------------- Cut (REMOVE) Copy Paste (REMOVE) ---------------------------- Save as Templates... ---------------------------- Find Usages (REMOVE) Refactor -> (REMOVE) ---------------------------- Tools > ---------------------------- Properties
No. UI spec just gives examples. Favorites CANNOT filter actions provided by underlying nodes. see issue #44779. The only probelm could be with root 'Favorites' node and with link nodes just below root 'Favorites' node.
It means Favorites only ADDs its own actions to Folder/File nodes.
*** Issue 46988 has been marked as a duplicate of this issue. ***
> UI spec just gives examples. Sorry Marek, is it joke ? UI specification gives an example ? In my opinion UI specification *specifies* ! If it can't be implemented update UI spec !
Please discuss it with Jano..... :) and Jano should fix UI specification as necessary. As I said Favorites cannot filter action(s) provided by nodes.
Of course it is technicaly possible to filter out actions BUT it would limit usability of Favorites tab.... Did you look at issue #44779??
Sorry I missed this. What I said applies to issue #46988.
> Did you look at issue #44779?? Yes I did,...... ;) Change spec or fix issues.
Jano please specify if actions on Favorites LINK nodes (folder or file) ie. nodes just below root node Favorites should be anyhow more filtered. I just fixed issue #46986 I removed Delete action from Favorites nodes. Is there any other action which should be filtered? If not please say it explicitely in UI spec so there is no confusion.
So, I've modified the spec to not filter out any actions from files and folders. The favorites window just adds "Add to Favorite" and "Remove from Favorite" actions to files and folders. Marek, please let me know if there are any problems with Delete action (it should delete the file or folder, not the link).
Delete action on LINK nodes is removed as it is duplicate of Remove from Favorites.
v/c