Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Relative File Path Browsing
Relative File Path Browsing [message #663907] Wed, 06 April 2011 18:58 Go to next message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Ok, I'm back with another question. Smile

One of the things that we do quite a bit is browse the project for a file, so that any file references when we deploy are all relative. And I found your example that mentions the @EclipseWorkspacePath annotation in the Browsing section of the Sapphire Help, which is great if you're dealing with Workspace-relative paths, but not specific enough for Project-relative paths.

That led me to poke around with creating a custom class extending BasePathsProviderImpl... but then I stumbled upon ProjectRootBasePathsProvider.

Is there a reason this is internal? I know I could simply make a copy of the class and stash it in my own project, but that kind of defeats the purpose. Smile

Should I report an enhancement request to change the visibility of that class?

--Fitz
Re: Relative File Path Browsing [message #663940 is a reply to message #663907] Wed, 06 April 2011 21:15 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Yes, please open an enhancement request.

- Konstantin
Re: Relative File Path Browsing [message #663958 is a reply to message #663940] Wed, 06 April 2011 22:55 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Done:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=342088
Previous Topic:More complex node-template labels?
Next Topic:List Constraints
Goto Forum:
  


Current Time: Sat Apr 20 00:20:37 GMT 2024

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

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

Back to the top