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

Uses of Class org.openide.util.Lookup (NetBeans APIs) - NetBeans API Javadoc 4.1.0


Uses of Class
org.openide.util.Lookup

Packages that use Lookup
org.openide.actions There are a number of standard system actions available for use in the IDE. 
org.openide.explorer Many different UI components of the IDE are actually Explorer views of nodes. 
org.openide.nodes The IDE uses nodes to represent JavaBeans or other property containers, formed into a hierarchical tree. 
org.openide.text The IDE is able to integrate multiple editors for different content types and mechanically access their content. 
org.openide.util A set of utility classes covering a few general infrastructure points in the Open APIs. 
org.openide.util.actions There are several types of standard actions that should be used for many user interactions with the IDE. 
org.openide.util.lookup Useful implementations of the lookup system used to register functionality and objects in the APIs. 
org.openide.windows Most parts of the IDE do not manipulate windows directly, but use special top components
 

Uses of Lookup in org.openide.actions
 

Methods in org.openide.actions with parameters of type Lookup
 Action ToolsAction.createContextAwareInstance(Lookup actionContext)
           
 Action PropertiesAction.createContextAwareInstance(Lookup actionContext)
           
 Action PasteAction.createContextAwareInstance(Lookup actionContext)
           
 Action NewAction.createContextAwareInstance(Lookup actionContext)
           
 

Uses of Lookup in org.openide.explorer
 

Methods in org.openide.explorer that return Lookup
static Lookup ExplorerUtils.createLookup(ExplorerManager em, ActionMap map)
          Creates new lookup containing selected nodes and their lookups.
 

Uses of Lookup in org.openide.nodes
 

Methods in org.openide.nodes that return Lookup
 Lookup Node.getLookup()
          Obtains a Lookup represeting additional content of this Node.
 

Constructors in org.openide.nodes with parameters of type Lookup
Node(Children h, Lookup lookup)
          Creates a new node with a given hierarchy of children and a lookup providing content for Node.getCookie(java.lang.Class) and Node.getLookup() methods.
FilterNode(Node original, Children children, Lookup lookup)
          Constructs new filter node with a provided children and lookup.
AbstractNode(Children children, Lookup lookup)
          Create a new abstract node with a given child set and associated lookup.
 

Uses of Lookup in org.openide.text
 

Methods in org.openide.text that return Lookup
 Lookup Line.getLookup()
          Provides access to the context passed into the line constructor.
 

Methods in org.openide.text with parameters of type Lookup
 void AnnotationProvider.annotate(Line.Set set, Lookup context)
          Attach annotations to the Line.Set for given context.
 

Constructors in org.openide.text with parameters of type Lookup
Line(Lookup context)
          Create a new line object based on a given data object.
DocumentLine(Lookup obj, PositionRef pos)
          Constructor.
CloneableEditorSupport(CloneableEditorSupport.Env env, Lookup l)
          Creates new CloneableEditorSupport attached to given environment.
 

Uses of Lookup in org.openide.util
 

Fields in org.openide.util declared as Lookup
static Lookup Lookup.EMPTY
          A dummy lookup that never returns any results.
 

Methods in org.openide.util that return Lookup
static Lookup Utilities.actionsGlobalContext()
          Global context for actions.
static Lookup Lookup.getDefault()
          Static method to obtain the global lookup in the whole system.
 Lookup Lookup.Provider.getLookup()
          Returns lookup associated with the object.
 Lookup ContextGlobalProvider.createGlobalContext()
          Creates the context in form of Lookup.
 

Methods in org.openide.util with parameters of type Lookup
static JPopupMenu Utilities.actionsToPopup(Action[] actions, Lookup context)
          Builds a popup menu from actions for provided context specified by Lookup.
 Action ContextAwareAction.createContextAwareInstance(Lookup actionContext)
          Creates action instance for provided context.
 

Uses of Lookup in org.openide.util.actions
 

Methods in org.openide.util.actions with parameters of type Lookup
 Action NodeAction.createContextAwareInstance(Lookup actionContext)
          Implements ContextAwareAction interface method.
 Action CookieAction.createContextAwareInstance(Lookup actionContext)
          Implements ContextAwareAction interface method.
 Action CallbackSystemAction.createContextAwareInstance(Lookup actionContext)
          Implements ContextAwareAction interface method.
 

Uses of Lookup in org.openide.util.lookup
 

Subclasses of Lookup in org.openide.util.lookup
 class AbstractLookup
          Implementation of the lookup from OpenAPIs that is based on the introduction of Item.
 class ProxyLookup
          Implementation of lookup that can delegate to others.
 

Methods in org.openide.util.lookup that return Lookup
protected  Lookup[] ProxyLookup.getLookups()
          Getter for the delegates.
static Lookup Lookups.singleton(Object objectToLookup)
          Creates a singleton lookup.
static Lookup Lookups.fixed(Object[] objectsToLookup)
          Creates a lookup that contains an array of objects specified via the parameter.
static Lookup Lookups.fixed(Object[] keys, InstanceContent.Convertor convertor)
          Creates a lookup that contains an array of objects specified via the parameter.
static Lookup Lookups.proxy(Lookup.Provider provider)
          Creates a lookup that delegates to another one but that one can change from time to time.
static Lookup Lookups.metaInfServices(ClassLoader classLoader)
          Returns a lookup that implements the JDK1.3 JAR services mechanism and delegates to META-INF/services/name.of.class files.
static Lookup Lookups.exclude(Lookup lookup, Class[] classes)
          Creates a lookup that wraps another one and filters out instances of specified classes.
 

Methods in org.openide.util.lookup with parameters of type Lookup
protected  void ProxyLookup.setLookups(Lookup[] lookups)
          Change the delegates.
static Lookup Lookups.exclude(Lookup lookup, Class[] classes)
          Creates a lookup that wraps another one and filters out instances of specified classes.
 

Constructors in org.openide.util.lookup with parameters of type Lookup
ProxyLookup(Lookup[] lookups)
          Create a proxy to some other lookups.
 

Uses of Lookup in org.openide.windows
 

Methods in org.openide.windows that return Lookup
 Lookup TopComponent.getLookup()
          Gets lookup which represents context of this component.
 

Methods in org.openide.windows with parameters of type Lookup
protected  void TopComponent.associateLookup(Lookup lookup)
          Associates the provided lookup with the component.
 

Constructors in org.openide.windows with parameters of type Lookup
TopComponent(Lookup lookup)
          Creates a top component for a provided lookup that will delegate take and synchronize activated nodes and ActionMap from a provided lookup.
 



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