org.netbeans.modules.queries/1 1.17.1

org.netbeans.spi.queries
Interface VisibilityQueryImplementation2

All Superinterfaces:
VisibilityQueryImplementation

public interface VisibilityQueryImplementation2
extends VisibilityQueryImplementation

Determine whether files should be hidden in views presented to the user.

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.

Since:
org.netbeans.modules.queries/1 1.12
See Also:
VisibilityQuery

Method Summary
 boolean isVisible(File file)
          Check whether a file is recommended to be visible.
 
Methods inherited from interface org.netbeans.spi.queries.VisibilityQueryImplementation
addChangeListener, isVisible, removeChangeListener
 

Method Detail

isVisible

boolean isVisible(File file)
Check whether a file is recommended to be visible.

Parameters:
file - a file to considered
Returns:
true if it is recommended to display this file

org.netbeans.modules.queries/1 1.17.1

Built on July 6 2010.  |  Portions Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.