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
.Built on January 27 2012. | Portions Copyright 1997-2012 Sun Microsystems, Inc. All rights reserved.