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 ContextGlobalExtender
public Object put(Object key, Object value)
put
in interface ContextGlobalExtender
public Object remove(Object key)
remove
in interface ContextGlobalExtender
public org.openide.util.Lookup createGlobalContext()
createGlobalContext
in interface org.openide.util.ContextGlobalProvider
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.