ActionManager
.TopComponent.getActionMap ().put (javax.swing.text.DefaultEditorKit.pasteAction, yourPasteAction);
If you want register more paste types then use an action which delegates to
an array of PasteAction
or also can delegate to an array of
org.openide.util.datatransfer.PasteType
.