org.netbeans.spi.navigator/1 1.27.1

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.27.1

Built on June 6 2013.  |  Portions Copyright 1997-2013 Oracle. All rights reserved.