Package org.eclipse.ui
Interface IWorkingSetElementAdapter
-
- All Known Implementing Classes:
BasicWorkingSetElementAdapter
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 theorg.eclipse.ui.workingSets
extension point. Usage of this interface inorg.eclipse.ui.workingSets
extensions is optional.- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
adaptElements
IAdaptable[] adaptElements(IWorkingSet ws, IAdaptable[] elements)
Converts the given elements for addition to/removal from the working set.- Parameters:
ws
- the target working set that elements should be adapted forelements
- the elements to adapt- Returns:
- the (possibly adapted) elements to add to/remove from the working set
-
dispose
void dispose()
Disposes of this element adaptor.
-
-