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

NavigatorLookupHint (NetBeans Navigator API) - NetBeans API Javadoc 5.0.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.


Method Summary
 String getContentType()
          Hint for content type that should be used in Navigator
 

Method Detail

getContentType

public String getContentType()
Hint for content type that should be used in Navigator

Returns:
String representation of content type (in mime-type style)

 

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