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 30231 - Replace TopComponent.getSystemActions w/ .getActions
Summary: Replace TopComponent.getSystemActions w/ .getActions
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Zavadsky
Depends on:
Blocks: 27868
  Show dependency tree
Reported: 2003-01-20 21:48 UTC by Jesse Glick
Modified: 2008-12-22 15:44 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-01-20 21:48:03 UTC

// delete systemActions member
private static SystemAction[] DEFAULT_ACTIONS = null;
/** @deprecated */
public SystemAction[] getSystemActions() {
    synchronized (TopComponent.class) {
        if (DEFAULT_ACTIONS == null) {
            DEFAULT_ACTIONS = /* initial list:
SaveAction etc. */;
public Action[] getActions() {
    return getSystemActions();

and change window system code to call getActions
rather than getSystemActions and use the proper
method to make a context menu.
Comment 1 Jesse Glick 2003-01-20 21:48:34 UTC
Could be considered part of issue #27868 set of changes.
Comment 2 Peter Zavadsky 2003-01-21 09:49:31 UTC
Yes, I had this in mind. 
Yarda told me there is also something similar in FS.
Comment 3 Peter Zavadsky 2003-01-21 13:04:38 UTC
Fixed in [trunk]

openide/ 1.97
openide/api/doc/changes/apichanges.xml 1.130
openide/src/org/openide/windows/ 1.89
openide/src/org/openide/explorer/ 1.38
core/src/org/netbeans/core/windows/frames/ 1.69
core/ 1.16