Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2012-05-16 07:26:50 -0400
committerUwe Stieber2012-05-16 07:28:58 -0400
commita7169af26fdc4587176181834fb52930965ab87a (patch)
tree5801b61fb0fd20e0279c1ed334978551f29b691b /target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src
parent23928d4dbc8a573bfd3f96bf794ef77e19dc5a7d (diff)
downloadorg.eclipse.tcf-a7169af26fdc4587176181834fb52930965ab87a.tar.gz
org.eclipse.tcf-a7169af26fdc4587176181834fb52930965ab87a.tar.xz
org.eclipse.tcf-a7169af26fdc4587176181834fb52930965ab87a.zip
Target Explorer: ADD DnD support for launches
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/filetransfer/FileTransferItem.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/filetransfer/FileTransferItem.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/filetransfer/FileTransferItem.java
index 6b34849b2..268cf1426 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/filetransfer/FileTransferItem.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/filetransfer/FileTransferItem.java
@@ -28,6 +28,12 @@ public class FileTransferItem extends PropertiesContainer implements IFileTransf
setProperty(PROPERTY_DIRECTION, HOST_TO_TARGET);
}
+ public FileTransferItem(IPath fromHost, IPath toTarget) {
+ this();
+ setProperty(PROPERTY_HOST, fromHost.toPortableString());
+ setProperty(PROPERTY_TARGET, toTarget.toPortableString());
+ }
+
/* (non-Javadoc)
* @see org.eclipse.tcf.te.tcf.filesystem.core.interfaces.IFileTransferItem#isEnabled()
*/

Back to the top