Package org.apache.cayenne.modeler.util

Examples of org.apache.cayenne.modeler.util.CayenneTransferable


       
        Object content = copy(mediator);
       
        if (content != null) {
            Clipboard sysClip = Toolkit.getDefaultToolkit().getSystemClipboard();
            sysClip.setContents(new CayenneTransferable(content), null);
        }
       
        //update paste button
        ((PasteAction) getApplication().getAction(PasteAction.getActionName())).updateState();
    }
View Full Code Here


        Object content = copy(mediator);

        if (content != null) {
            Clipboard sysClip = Toolkit.getDefaultToolkit().getSystemClipboard();
            sysClip.setContents(new CayenneTransferable(content), null);
        }

        // update paste button
        getApplication().getActionManager().getAction(PasteAction.class).updateState();
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.modeler.util.CayenneTransferable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.