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 46987 - Favorites Folder/Files contextual menus
Summary: Favorites Folder/Files contextual menus
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Favorites (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2004-08-07 16:39 UTC by Marian Mirilovic
Modified: 2008-12-22 21:20 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-08-07 16:39:04 UTC
[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
Comment 1 mslama 2004-08-24 15:31:43 UTC
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.
Comment 2 mslama 2004-08-24 15:33:43 UTC
It means Favorites only ADDs its own actions to Folder/File nodes.
Comment 3 mslama 2004-08-24 15:33:48 UTC
*** Issue 46988 has been marked as a duplicate of this issue. ***
Comment 4 Marian Mirilovic 2004-08-24 16:58:39 UTC
> 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 !
Comment 5 mslama 2004-08-24 17:03:00 UTC
Please discuss it with Jano..... :) and Jano should fix UI
specification  as necessary. As I said Favorites cannot filter
action(s) provided by nodes.
Comment 6 mslama 2004-08-24 17:05:09 UTC
Of course it is technicaly possible to filter out actions BUT it would
limit usability of Favorites tab.... Did you look at issue #44779??
Comment 7 mslama 2004-08-24 17:09:59 UTC
Sorry I missed this. What I said applies to issue #46988.
Comment 8 Marian Mirilovic 2004-08-24 17:12:51 UTC
> Did you look at issue #44779??
Yes I did,...... ;)

Change spec or fix issues.
Comment 9 mslama 2004-10-19 15:03:11 UTC
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.
Comment 10 jrojcek 2004-10-28 21:25:22 UTC
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).
Comment 11 mslama 2004-11-01 08:24:58 UTC
Delete action on LINK nodes is removed as it is duplicate of Remove
from Favorites.
Comment 12 Marian Mirilovic 2004-11-24 15:27:47 UTC
v/c