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 29813

Summary: ListView&IconView should honor Node.getContextActions()
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: ExplorerAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED FIXED    
Severity: blocker CC: jglick, phrebejk, pzavadsky
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 27868    
Attachments: Diff against action_27868 branch

Description Jaroslav Tulach 2003-01-06 15:54:11 UTC
I know that neither list view or icon view is used
too much, but the original plan for both of these
views was to display a special popup menu when
invoked on white space containing no list/icon
element. The menu should be obtained via
getExplorerContext().getContextActions()

As we are heading to finish issue 27868 we should
decide whether we want this behaviour or not as it
also influence the Looks API. My opinion is that
we want it, so I have created the patch to show
the impl.
Comment 1 Jaroslav Tulach 2003-01-06 15:54:54 UTC
Created attachment 8455 [details]
Diff against action_27868 branch
Comment 2 Jesse Glick 2003-01-06 17:49:25 UTC
IMHO context actions are not really necessary in the API and just add
complexity; we have never used them and possibly never will. (You
could just ask for regular actions of the explored context and get a
tolerable UI.) However, it is historically in the API and documented,
and we should support if it is there and we can support it.
Comment 3 Jiri Rechtacek 2003-12-02 17:44:59 UTC
thanks, patch applied in o.o.e.view.ListView, rev. 1.73.
Comment 4 Jaroslav Tulach 2003-12-02 18:08:36 UTC
It's there and it rocks!