|
|
@ -92,8 +92,6 @@ class LabelCell extends TextFieldTreeTableCell<Entry, String> { |
|
|
|
}); |
|
|
|
getItems().add(copyLabel); |
|
|
|
|
|
|
|
Object content = Clipboard.getSystemClipboard().getContent(DataFormat.PLAIN_TEXT); |
|
|
|
if(content instanceof String) { |
|
|
|
MenuItem pasteLabel = new MenuItem("Paste Label"); |
|
|
|
pasteLabel.setOnAction(AE -> { |
|
|
|
hide(); |
|
|
@ -106,4 +104,3 @@ class LabelCell extends TextFieldTreeTableCell<Entry, String> { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|