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 5458 - In pop-up menu for root of filesystem there is not item Find (keyborad shortcut works).
Summary: In pop-up menu for root of filesystem there is not item Find (keyborad shortc...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Petr Slegr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-19 06:32 UTC by Petr Slegr
Modified: 2008-12-23 10:44 UTC (History)
0 users

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 Petr Slegr 2000-01-19 06:32:21 UTC
[Pk] Shortcut works anywhere it makes sense. The node popup presents it only in pair with "Explore from here  ..". Filesystem roots should present it.

[jglick] RootFolderNode is not paying any attention to the default list of actions. Previously there was a suggestion in ST, now marked As Designed I think, that RootFolderNode should take the regular
 folder list of actions and then modify them to include root-specific stuff (no delete, plus remove from repo, etc.). This makes even more sense now that actions for folders are configurable--such cha
nges will not appear on root folders! BUT, adding actions to a list of actions in the right position is pretty difficult and not very nice.

Suggest instead: FolderLoader should just have another Bean property, rootActions, which should use the same property editor as for actions. FolderNode should then use these actions on a folder if isR

oot(). RootFolderNode then would not need to set different actions at all, and user could customize the list specially for root folders. PROBLEM: some actions in the list, such as Remove FS, might not
 be in APIs, so FolderLoader.initialize() cannot set these. SOLUTION: have LoaderPoolNode check if FolderLoader is being initialized newly (not deserialized), and if so, specially add this action to t
he correct position (which will be known in advance).