public interface VisibilityQueryImplementation
Global lookup is used to find all instances of VisibilityQueryImplementation.
Threading note: implementors should avoid acquiring locks that might be held
by other threads. Generally treat this interface similarly to SPIs in
org.openide.filesystems
with respect to threading semantics.
VisibilityQuery
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l)
Add a listener to changes.
|
boolean |
isVisible(FileObject file)
Check whether a file is recommended to be visible.
|
void |
removeChangeListener(ChangeListener l)
Stop listening to changes.
|
boolean isVisible(FileObject file)
file
- a file to consideredvoid addChangeListener(ChangeListener l)
l
- a listener to addvoid removeChangeListener(ChangeListener l)
l
- a listener to remove