boolean () { final ArrayList<RadComponent> selectedComponents = FormEditingUtil.getSelectedComponents(myEditor); final SerializedComponentData data = new SerializedComponentData(serializeForCopy(myEditor, selectedComponents)); final SimpleTransferable transferable = new SimpleTransferable<>(data, SerializedComponentData.class, ourDataFlavor); try { CopyPasteManager.getInstance().setContents(transferable); return true; } catch (Exception e) { LOG.debug(e); return false; } }