Under Runtime | NetBeans Runtime | Global Lookup
you can find out what is currently in the lookup system: Lookup.getDefault()
. If you see something
missing you think should be there, right click on this
node and select Add Superclass/interface. You will be asked for a
class name. Type in the fully qualified name of any class in the APIs or modules,
for example org.openide.filesystems.MIMEResolver or
org.openide.awt.HtmlBrowser$Factory.
Now browse underneath the lookup node and you will see all instances of that class registered in the system's default lookup, organized in an inheritance tree. Each instance can be explored using the inspector. Also the tooltip for an instance gives you the lookup item ID (for example, the name of the data object with which an instance was registered). If the contents of lookup change (e.g. because of module installation), the result node will be refreshed.
As instances become available, queries for their class (and superclasses and implemented interfaces) are added for you automatically.
You can also look under Action Lookup to see the contents of
Utilities.actionsGlobalContext()
, which is the context used
by globally-installed context-sensitive actions (e.g. CookieNode
s).
Normally this lookup will be based on the selected nodes of the active
TopComponent
.