- All Known Implementing Classes:
public interface IWorkingSetElementAdapter
Interface that describes a mechanism that may be provided by working set extensions to help manage the addition of elements to working sets. Instances of this class are capable of transforming possible working set content into the most applicable form.
Usage of this interface is achieved via the
elementAdapterClassattribute of the
org.eclipse.ui.workingSetsextension point. Usage of this interface in
org.eclipse.ui.workingSetsextensions is optional.
IAdaptable adaptElements(IWorkingSet ws, IAdaptable elements)Converts the given elements for addition to/removal from the working set.
ws- the target working set that elements should be adapted for
elements- the elements to adapt
- the (possibly adapted) elements to add to/remove from the working set
void dispose()Disposes of this element adaptor.