|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2002, 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2002, 2012 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 17-22
Link Here
|
| 17 |
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry |
17 |
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry |
| 18 |
* David McKnight (IBM) - [223103] [cleanup] fix broken externalized strings |
18 |
* David McKnight (IBM) - [223103] [cleanup] fix broken externalized strings |
| 19 |
* David McKnight (IBM) - [248339] [dnd][encodings] Cannot drag&drop / copy&paste files or folders with turkish or arabic names |
19 |
* David McKnight (IBM) - [248339] [dnd][encodings] Cannot drag&drop / copy&paste files or folders with turkish or arabic names |
|
|
20 |
* David McKnight (IBM) - [368304] Copy paste from Remote System Explorer view has CR/LF |
| 20 |
*******************************************************************************/ |
21 |
*******************************************************************************/ |
| 21 |
|
22 |
|
| 22 |
package org.eclipse.rse.ui.actions; |
23 |
package org.eclipse.rse.ui.actions; |
|
Lines 171-179
Link Here
|
| 171 |
if (adapter != null) |
172 |
if (adapter != null) |
| 172 |
{ |
173 |
{ |
| 173 |
String text = adapter.getAlternateText(dragObject); |
174 |
String text = adapter.getAlternateText(dragObject); |
|
|
175 |
if (textStream.length() > 0){ |
| 176 |
// append new line only if we've already got previous lines |
| 177 |
textStream.append(getTextTransferAppend(dragObject, adapter)); |
| 178 |
} |
| 179 |
|
| 174 |
textStream.append(getTextTransferPrepend(dragObject, adapter)); |
180 |
textStream.append(getTextTransferPrepend(dragObject, adapter)); |
| 175 |
textStream.append(text); |
181 |
textStream.append(text); |
| 176 |
textStream.append(getTextTransferAppend(dragObject, adapter)); |
|
|
| 177 |
|
182 |
|
| 178 |
if (adapter.canDrag(dragObject)) |
183 |
if (adapter.canDrag(dragObject)) |
| 179 |
{ |
184 |
{ |