Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » LinkedResources for resources with same name
LinkedResources for resources with same name [message #333771] Mon, 05 January 2009 08:09
wishwas is currently offline wishwasFriend
Messages: 7
Registered: July 2009
Junior Member
Hello,

I use linkedresource for an editor that I am currently working on. I am
not able to create different linkedresources for two different resources
with same name (different locations).

If I use file.createLink(path, IResource.NONE, null) , The files first
opened is opened.
Eg : I have a file with the same name in both myDocu and desktop , If I
open the file on the desktop first , This file opens even if I
subsequently try to open the file in myDocu.

If I use file.createLink(path, IResource.REPLACE, null) , Then the
resource path is replaced. This means that ,I am not able to open two
files with the same name(even though diff locations) at the same time.
Eg : I have a file with the same name in both myDocu and desktop , If I
open the file on the desktop first , The when I try to open the file in
myDocu,the file is opened but in the already opened editor i.e. The editor
with the first file opened is closed and the new one opened.

Request for a solution,

Looking forward for a reply,
Wishwas.
Previous Topic:Eclipse crashes after having started with the -clean option
Next Topic:Moving from VerticalRuler to CompositeRuler, annotations lost
Goto Forum:
  


Current Time: Sun Jun 30 13:44:05 GMT 2024

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

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

Back to the top