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 elementAdapterClass
attribute of the org.eclipse.ui.workingSets
extension point.
Usage of this interface in org.eclipse.ui.workingSets
extensions is optional.
Modifier and Type | Method and Description |
---|---|
IAdaptable[] |
adaptElements(IWorkingSet ws,
IAdaptable[] elements)
Converts the given elements for addition to/removal from the working set.
|
void |
dispose()
Disposes of this element adaptor.
|
IAdaptable[] adaptElements(IWorkingSet ws, IAdaptable[] elements)
ws
- the target working set that elements should be adapted forelements
- the elements to adaptvoid dispose()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.