public interface ContextGlobalProvider
Utilities.actionsGlobalContext()
method
and is expected to contain similar content as the context used when
context aware actions (see ContextAwareAction
) are being
manipulated for example via method Utilities.actionsToPopup(javax.swing.Action[], org.openide.util.Lookup)
, so
in current state it is reasonable to put there all currently active
Node, their cookies and ActionMap
.
By default this interface is implemented by window system to delegate
to currently activated TopComponent's lookup.
There is an external FAQ entry describing how to add content to the global context by providing customized implementation of this interface.
Modifier and Type | Method and Description |
---|---|
Lookup |
createGlobalContext()
Creates the context in form of Lookup.
|
Lookup createGlobalContext()