站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

NavigatorLookupPanelsPolicy (Navigator API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.spi.navigator/1 1.5

org.netbeans.spi.navigator
Interface NavigatorLookupPanelsPolicy


public interface NavigatorLookupPanelsPolicy

Interface for SPI clients who want to affect searching mechanism for available NavigatorPanel implementations.

Navigator infrastructure searches for instance of this interface in Utilities.actionsGlobalContext() lookup and then applies found policy on set of available NavigatorPanel implementations.

Note that multiple instances of this interface are not supported in Utilities.actionsGlobalContext() lookup, one instance is chosen randomly in this case.

Common Usage:

Since:
1.6

Field Summary
static int LOOKUP_HINTS_ONLY
          Shows only NavigatorPanel implementations available through NavigatorLookupHint in Navigator window, hides NavigatorPanels available from DataObject of active Node.

Use when you want to remove NavigatorPanels of active Node from Navigator window.
 
Method Summary
 int getPanelsPolicy()
          Returns policy for available Navigator panels.
 

Field Detail

LOOKUP_HINTS_ONLY

static final int LOOKUP_HINTS_ONLY
Shows only NavigatorPanel implementations available through NavigatorLookupHint in Navigator window, hides NavigatorPanels available from DataObject of active Node.

Use when you want to remove NavigatorPanels of active Node from Navigator window.

See Also:
Constant Field Values
Method Detail

getPanelsPolicy

int getPanelsPolicy()
Returns policy for available Navigator panels. Currently only LOOKUP_HINTS_ONLY policy is supported.

Returns:
Navigator panels policy constant.

org.netbeans.spi.navigator/1 1.5

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.