Bugs item #2809039, was opened at 2009-06-19 06:51
Message generated for change (Settings changed) made by freyther
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=2809039&group_id=167540

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Main
Group: None
Status: Closed
Resolution: Fixed
>Priority: 6
Private: No
Submitted By: Sebastian Ziller (s-ziller)
Assigned to: Sebastian Ziller (s-ziller)
Summary: Renaming a file closes this file's editor at observer's side

Initial Comment:
The problem is the order in which the activities are sent. The Editor Activity 
of type activated for the new path is sent before the File Activity of type 
created for the new path. So activating cannot be applied because the resource 
with the new path doesn't exist yet.

So the editor of the old (deleted) file is closed but the new one is not opened 
instead.

----------------------------------------------------------------------

Comment By: Christopher Oezbek (coezbek)
Date: 2009-09-15 04:58

Message:
Fixed in r.1752

----------------------------------------------------------------------

Comment By: Sebastian Ziller (s-ziller)
Date: 2009-07-24 04:10

Message:
>From Eclipse API documentation:
A simple move operation would result in the following delta information. If
a resource is moved from A to B (with no other changes to A or B), then A
will have kind REMOVED, with flag MOVED_TO, and getMovedToPath on A will
return the path for B. B will have kind ADDED, with flag MOVED_FROM, and
getMovedFromPath on B will return the path for A. B's other flags will
describe any other changes to the resource, as compared to its previous
location at A. 

----------------------------------------------------------------------

Comment By: Sebastian Ziller (s-ziller)
Date: 2009-07-24 03:27

Message:
Perhaps the IResourceDeltaListener should test for: delta.getKind() ==
IResourceDelta.ADDED && (delta.getFlags() & IResourceDelta.MOVED_FROM) != 0
to detect a move.

http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg06760.html


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=2809039&group_id=167540

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot

Reply via email to