当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.0
NavigatorLookupHint (NetBeans Navigator API) - NetBeans API Javadoc 5.5.0
org.netbeans.spi.navigator
Interface NavigatorLookupHint
public interface NavigatorLookupHint
Hint for Navigator clients to link Lookup
of their
TopComponent
with Navigator content type.
Usage: Implementation of this interface should be inserted into
client's specific topComponent's lookup, see
TopComponent.getLookup()
method. When mentioned
TopComponent
gets active in the system, system will
ask
NavigatorLookupHint
implementation for content type
to show in Navigator UI.
getContentType
String getContentType()
- Hint for content type that should be used in Navigator
- Returns:
- String representation of content type (in mime-type style)