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.
I think it should be deprecated (it's usage especially when clearing the paste types, while deactivating component, could lead to inconsistent state), and the recommended should be used the context provided by ActionMap. See the deprecation of CallbackSystemAction#setActionPerformer, I think the same resoning applies to PasteAction#setPasteTypes.
Checking in src/org/openide/actions/PasteAction.java; /cvs/openide/src/org/openide/actions/PasteAction.java,v <-- PasteAction.java new revision: 1.55; previous revision: 1.54 done