Provide option to copy file names in staging view to clipboard
commit14652472b2aa7901279a01d76cc1b6dff3fa8207
authorFabian Pfaff <fabian.pfaff@vogella.com>
Sat, 3 Jun 2017 20:08:16 +0000 (3 22:08 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Sat, 3 Feb 2018 09:31:00 +0000 (3 10:31 +0100)
tree5fab4e0f67a0a80c020c605df8bc0a912b0f8b9c
parent4d1ce3822848d936087db28543dad3bdd64db49b
Provide option to copy file names in staging view to clipboard

Make the path of selected files and folders in the Staging view
copyable to the clipboard.
If multiple files are selected all paths are copied and the
individual paths are separated with System#lineSeparator.
No line separator is inserted after the last item.
This mirrors the behavior of the file list in the History view.

Bug: 510945
Change-Id: I75b490aa5219236d5a645ad122184a4a6b29492a
Signed-off-by: Fabian Pfaff <fabian.pfaff@vogella.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties