Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.dialogs
Interface ClassPackageBrowserFilterV2

All Known Subinterfaces:
ClassPackageBrowserFilter2V2

public interface ClassPackageBrowserFilterV2

A filter for classes and package displayed in the ClassPackageBrowser.

If an instance of ClassPackageBrowserFilter is provided to the ClassPackageBrowser, it will be used to check each package and class added to the browser. If a package is not accepted, it and any children will not be shown; rejecting a class results in the class not being shown.


Method Summary
 boolean acceptClass(JavaClass cls)
          Whether a class should be accepted.
 boolean acceptPackage(java.lang.String pkg)
          Whether a package should be accepted.
 

Method Detail

acceptPackage

boolean acceptPackage(java.lang.String pkg)
Whether a package should be accepted. If a package is not accepted, the node for it will not be created. This means that any classes in the package or any sub-packages will not be made available either.

Parameters:
pkg - the package name.
Returns:
whether the filter accepts the package.

acceptClass

boolean acceptClass(JavaClass cls)
Whether a class should be accepted. If a class is not accepted, the node for it will not be created.

Parameters:
cls - the JOT representation of the class.
Returns:
whether the filter accepts the class.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.