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 - ListView&IconView should honor Node.getContextActions()
Summary: ListView&IconView should honor Node.getContextActions()
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 27868
  Show dependency tree
 
Reported: 2003-01-06 15:54 UTC by Jaroslav Tulach
Modified: 2008-12-22 19:59 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff against action_27868 branch (2.27 KB, patch)
2003-01-06 15:54 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!