| Linked IFile resource [message #326523] | 
Fri, 21 March 2008 14:04  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: automatic.javalobby.org 
 
I fear I know the answer, but I'm asking anyway. 
I want to change the URI in a linked IFile resource without destroying the files metadata (PropertyStore and markers) 
 
I can change the URI using IFile#createlink() with IResource#REPLACE in the updateflag but doesn't that remove the old resource and all its metadata? 
I think my only alternative is to save all the metadata I want to keep, and reinsert it after the creatLink.  
 
does this also cause the editor of the file to close. 
 
I'm looking for the equivalent of IFile#setContent() for linked file where the "content" is the URI of the file.
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.02740 seconds