muffinmanager/src/main/java/org/jbundle/util/muffinmanager/MuffinManager.java
public boolean replaceClipboardAction(JComponent component, String actionName)
    {
        Action action = (Action)component.getActionMap().get(actionName);
        if (action != null)
            component.getActionMap().put(actionName, new LinkedClipboardAction(actionName, action));
        return (action != null);
        
    }
public boolean replaceClipboardAction(JComponent component, String actionName)
    {
        Action action = (Action)component.getActionMap().get(actionName);
        if (action != null)
            component.getActionMap().put(actionName, new LinkedClipboardAction(actionName, action));
        return (action != null);
        
    }
public boolean replaceClipboardAction ( JComponent component , String actionName ) { Action action = ( Action ) component . getActionMap ( ) . get ( actionName ) ; if ( action != null ) component . getActionMap ( ) . put ( actionName , new LinkedClipboardAction ( actionName , action ) ) ; return ( action != null ) ; }
Replace the clipboard cut/cut/paste command with this command.
@param component
@param actionName
@return
Replace the clipboard cut / cut / paste command with this command .