[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tm-cvs-commit] dmcknight org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view SystemDNDTransferRunnable.java

Update of /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view
In directory dev1:/tmp/cvs-serv7192/UI/org/eclipse/rse/internal/ui/view

Modified Files:
	SystemDNDTransferRunnable.java 
Log Message:
[231971] [dnd] Drag and Drop Filter Displays Error

Index: SystemDNDTransferRunnable.java
===================================================================
RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemDNDTransferRunnable.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** SystemDNDTransferRunnable.java	19 Oct 2010 19:48:44 -0000	1.27
--- SystemDNDTransferRunnable.java	14 Mar 2011 12:58:41 -0000	1.28
***************
*** 1,4 ****
  /*******************************************************************************
!  * Copyright (c) 2002, 2010 IBM Corporation and others.
   * All rights reserved. This program and the accompanying materials
   * are made available under the terms of the Eclipse Public License v1.0
--- 1,4 ----
  /*******************************************************************************
!  * Copyright (c) 2002, 2011 IBM Corporation and others.
   * All rights reserved. This program and the accompanying materials
   * are made available under the terms of the Eclipse Public License v1.0
***************
*** 28,31 ****
--- 28,32 ----
   * Radoslav Gerganov (ProSyst)   - [231428] [files] NPE on canceling copy operation from remote host
   * David McKnight   (IBM)        - [328148] Dropping resource onto Eclipse IFile causes RSEG1003U unexpected exception
+  * David McKnight   (IBM)        - [231971] [dnd] Drag and Drop Filter Displays Error
   *******************************************************************************/
  
***************
*** 162,166 ****
  				return _ok;
  			}
! 			else if (srcObject != null)
  			{
  				ISystemDragDropAdapter srcAdapter = (ISystemDragDropAdapter) ((IAdaptable) srcObject).getAdapter(ISystemDragDropAdapter.class);
--- 163,167 ----
  				return _ok;
  			}
! 			else if (srcObject != null && srcObject != target)
  			{
  				ISystemDragDropAdapter srcAdapter = (ISystemDragDropAdapter) ((IAdaptable) srcObject).getAdapter(ISystemDragDropAdapter.class);
***************
*** 185,189 ****
  						{
  				    		SystemRemoteResourceSet set = getSetFor(srcSubSystem, srcAdapter);
! 							set.addResource(srcObject);
  						}
  				    }
--- 186,190 ----
  						{
  				    		SystemRemoteResourceSet set = getSetFor(srcSubSystem, srcAdapter);
! 				    		set.addResource(srcObject);				    		
  						}
  				    }