When copying text to clipboard from GraphExplorer-based UI controls
(Model Browser, Selection view) using StandardCopyHandler, the produced
text no longer contains a trailing newline.
gitlab #411
Change-Id: If4141b00ed9ffc1d1dcaed53114405e8b0d20042
Set<TreeItem> items = new THashSet<TreeItem>(selection.length);
for (TreeItem item : selection)
items.add(item);
Set<TreeItem> items = new THashSet<TreeItem>(selection.length);
for (TreeItem item : selection)
items.add(item);
+ boolean firstRow = true;
for (TreeItem item : selection) {
for (TreeItem item : selection) {
+ if (!firstRow)
+ sb.append('\n');
+ firstRow = false;
int cc = item.getParent().getColumnCount();
int indent = indentLevel(item, items);
for (int i = 0; i < indent; ++i)
sb.append('\t');
int cc = item.getParent().getColumnCount();
int indent = indentLevel(item, items);
for (int i = 0; i < indent; ++i)
sb.append('\t');
+ boolean firstColumn = true;
for (int c = 0; c < cc; ++c) {
String ct = item.getText(c);
for (int c = 0; c < cc; ++c) {
String ct = item.getText(c);