I know that Eclipse working sets are very flexible and customizable. They are made of elements which implement IAdaptable
Which can be anything. However, in many (most) cases, working sets are used to define a set of resources.
In case these elements can be seen as resources (e.g. IJavaProject
), is there a universal (or formal) way to programatically translate these elements to resources?
Eventually, I need to determine whether a given resource is in a working set, so an answer in that direction is acceptable as well.