Package org.eclipse.ui
Interface IWorkingSetUpdater
-
- All Known Subinterfaces:
IWorkingSetUpdater2
public interface IWorkingSetUpdaterAnIWorkingSetUpdatercan be used to dynamically update the content of a working set.A working set updater manages a set of working sets. It is contributed via the attribute
updaterClassof theorg.eclipse.ui.workingSetsextension point. Extensions of this extension point must therefore implement this interface.API under construction and subject to change at any time.
- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(IWorkingSet workingSet)Adds a working set to this updater.booleancontains(IWorkingSet workingSet)Returnstrueif the updater contains the given working set; otherwisefalseis returned.voiddispose()Disposes this working set updater.booleanremove(IWorkingSet workingSet)Removes a working set from this updater.
-
-
-
Method Detail
-
add
void add(IWorkingSet workingSet)
Adds a working set to this updater.- Parameters:
workingSet- the working set to add to this updater
-
remove
boolean remove(IWorkingSet workingSet)
Removes a working set from this updater.- Parameters:
workingSet- the working set to remove- Returns:
trueif the updater changed (e.g. the element got removed)
-
contains
boolean contains(IWorkingSet workingSet)
Returnstrueif the updater contains the given working set; otherwisefalseis returned.- Parameters:
workingSet- the parameter to check- Returns:
- whether the updater contains the given working set
-
dispose
void dispose()
Disposes this working set updater. Implementations of this method typically remove listeners from some delta providers.
-
-