Interface IPreferenceNodeVisitor
public interface IPreferenceNodeVisitor
This interface is implemented by objects that visit preference nodes.
Usage:
class Visitor implements IPreferenceNodeVisitor {
public boolean visit(IEclipsePreferences node) {
// your code here
return true;
}
}
IEclipsePreferences root = ...;
root.accept(new Visitor());
Clients may implement this interface.
- Since:
- 3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvisit(IEclipsePreferences node) Visits the given preference node.
-
Method Details
-
visit
Visits the given preference node.- Parameters:
node- the node to visit- Returns:
trueif the node's children should be visited;falseif they should be skipped- Throws:
BackingStoreException- if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.
-