Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] IResource representation for non-workspace URI

Not sure if it is recommended, but you can create a hidden project and link the external file/folder there. Once you have it, you have full IResource functionality.
A different approach would be to attach markers to existing resources/projects which require those external files (or even workspace root), and try to teach Problems view to use URI and not IResource to resolve the thing to open on double click. Later requires patch for Problems view.

Kind regards,
Andrey Loskutov

Спасение утопающих - дело рук самих утопающих

https://www.eclipse.org/user/aloskutov


> Gesendet: Mittwoch, 03. April 2019 um 08:53 Uhr
> Von: "Alexander Fedorov" <alexander.fedorov@xxxxxxxxxx>
> An: platform-dev@xxxxxxxxxxx
> Betreff: [platform-dev] IResource representation for non-workspace URI
>
> Hello,
> 
> There are scenarios with external files and with files from metadata 
> area that should be processed as "workspace resources".
> For example, if external file is involved to some kind of validation it 
> will be good to see the failures in the Problem View.
> And the Problem View requires IMarkers, and the IMarker needs IResource.
> 
> What is the recommended approach to wrap external URIs with IResource 
> interface?
> 
> Regards,
> AF
> _______________________________________________
> platform-dev mailing list
> platform-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/platform-dev
>


Back to the top