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 28986 - ExplorerPanel should deal with cut,copy etc actions thru ActionMap
Summary: ExplorerPanel should deal with cut,copy etc actions thru ActionMap
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on: 29405
Blocks: 27868
  Show dependency tree
 
Reported: 2002-11-25 12:46 UTC by Peter Zavadsky
Modified: 2008-12-22 22:59 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2002-11-25 12:46:27 UTC
Try the customizer of Filesystems. 
You'll see the actions cut,copy ... are not
working correctly.

It is probably necessary to create Delegate
actions for that component similar way like it is
done for CloneableEditor.
Comment 1 Peter Zavadsky 2002-12-06 14:52:37 UTC
First it seems the actions are still not working even in main explorer.

When invoked popup first time on certain node. The cut,copy,paste are
not enabled accordingly, there is necessary to invoke the popup second
time.

Just found out the problem is the popup is invoked, but the performers
are set later, due to coalescing events from explorer manager, see
ExplorerActions$ActionStateUpdater
Comment 2 Peter Zavadsky 2002-12-09 14:56:12 UTC
Partial fix in [action_27868] branch.
(also the timer problem)

oepnide/org/openide/explorer/ExplorerActions.java 1.49.60.6
openide/test/cfg-unit.xml 1.51.14.2
openide/test/unit/src/org/openide/explorer/Attic/ExplorerPanelTest.java
1.1.2.1

Still needs to resolve paste actions, which updating is done
asynchronously.

Comment 3 Peter Zavadsky 2002-12-09 15:27:22 UTC
Also changed.
org/openide/explorer/ExplorerPanel.java 1.32.84.4
Comment 4 Peter Zavadsky 2002-12-09 15:50:02 UTC
Fixed in [action_27868] branch also the part for PasteAction.
(removed workaround for DnD issue).

openide/../explorer/ExplorerActions.java 1.49.60.7

Comment 5 Peter Zavadsky 2002-12-09 15:52:32 UTC
Now remains problem with customizer, why there is less actions in
popup then in main explorer. And why the paste action is not working
-> global paste action is not enabled, and it is used for performing
of the paste instead of the ExplorerActions.OwnPaste.
Comment 6 Peter Zavadsky 2002-12-09 16:33:37 UTC
Yarda already fixed the part with Paste action performing

openide/../actions/PasteAction.java 1.37.28.8
Comment 7 Peter Zavadsky 2002-12-09 16:54:17 UTC
The problem of missing actions is not our one. It is up to the nodes,
which actions present, in this case cvs fs node in customizer.