void () { try { Property property = getSelectionProperty(); Object value = getValue(property); Transferable transferable; if (value == null) { transferable = new TextTransferable(""); } else { transferable = property.doCopy(myContainers.get(0), value); } CopyPasteManager.getInstance().setContents(transferable); } catch (Throwable e) { myDesigner.showError(DesignerBundle.message("designer.copy.property.error"), e); } }