Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » EFS and IResource - no links
EFS and IResource - no links [message #554461] Mon, 23 August 2010 09:33
staudta is currently offline staudtaFriend
Messages: 17
Registered: August 2010
Junior Member
Hi together,

I'm trying to use EFS for an own implementation to access EObjects from a repository.
Some basic stuff like accessing and opening the data already work.
I added to the .project file this linked ressource:

        <link>
            <name>FileStore.txt</name>
            <type>1</type>
            <locationURI>abcSchema:/123/abc</locationURI>
        </link>


For the moment the ressource is visualized in the navigation with the icon for linked files. I don't want to show the user that these files are only references. So I expected to create a IRessource with an IPath, that has as schema "abcSchema", so that my own EFS Implementation can handle that. (Maybe I need to use URL instead of IPath)

I'm unable to create such a ressource. Can somebody give me a hint how to create ressources that concists only as "abcSchema:/abc/def", but are not handeled as links.

At the moment I'm using
URI location = new URI("abcSchema", "asf/asd", "abc");

IFile file = project.getFile("File.ecore");
file.createLink(location, IFile.VIRTUAL, new NullProgressMonitor());


As mentioned this creates visual linked files. I don't want to see this linked visualization.
Thank you in advance for your hints.
Previous Topic:Re: Where can I access my installed SDK examples
Next Topic:CommonNavigator 2 questions
Goto Forum:
  


Current Time: Tue Mar 19 05:35:57 GMT 2024

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

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

Back to the top