Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CElements adapting to IResource

 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
> Sent: Wednesday, August 23, 2006 10:12 AM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] CElements adapting to IResource
> 
> I think you're both saying the same thing, so
> 
> +1.
> 
> I think most uses of mapping ICElement to IResource is through the
> getResource() method. I actually didn't realize they were adaptable.
> 
> Does anyone know if you can adapt an IResource to ICElement? 
> The adapter
> factory extension makes it possible. Whether it makes sense 
> is another thing
> all together. I guess you'd have to have different adaptations since
> IResource can map to different ICElements depending on the 
> type and content
> type and path entry settings, etc.

Yes ... you can.  In fact that is what the QNX launch contributions use
to help to prune down launch configurations to things that are within
CDT projects and recognized as binaries.

Thomas


Back to the top