Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Linked IFile resource
Linked IFile resource [message #326523] Fri, 21 March 2008 18:04
Eclipse UserFriend
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.
Previous Topic:Plugin Version Compatibility
Next Topic:Update Site won't build
Goto Forum:
  


Current Time: Thu Jun 27 20:43:56 GMT 2024

Powered by FUDForum. Page generated in 0.03371 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top