public class ContextGlobalExtenderImpl extends Object implements org.openide.util.ContextGlobalProvider, ContextGlobalExtender
ContextGlobalExtender which is also a ContextGlobalProvider.
In order to register ContextGlobalProvider service use the following code:
@ServiceProvider(
service = ContextGlobalProvider.class,
supersedes = "org.netbeans.modules.openide.windows.GlobalActionContextImpl"
)
public class MyGlobalActionContextImpl extends ContextGlobalExtenderImpl {
}
ContextGlobalProvider,
GlobalActionContextImpl| Constructor and Description |
|---|
ContextGlobalExtenderImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.openide.util.Lookup |
createGlobalContext()
Returns a ProxyLookup that adds the current extra instance to the
global selection returned by Utilities.actionsGlobalContext().
|
Object |
get(Object key) |
Object |
put(Object key,
Object value) |
Object |
remove(Object key) |
public Object get(Object key)
get in interface ContextGlobalExtenderpublic Object put(Object key, Object value)
put in interface ContextGlobalExtenderpublic Object remove(Object key)
remove in interface ContextGlobalExtenderpublic org.openide.util.Lookup createGlobalContext()
createGlobalContext in interface org.openide.util.ContextGlobalProviderCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.