Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

org::openide::util::lookup::SimpleLookup Class Reference

List of all members.

Public Member Functions

String toString ()
Result lookup (Template template)
Object lookup (Class clazz)

Package Functions

 SimpleLookup (Collection instances)
 SimpleLookup (Collection keys, InstanceContent.Convertor conv)

Static Package Functions

 [static initializer]

Static Private Member Functions

boolean matches (Template t, AbstractLookup.Pair item)

Private Attributes

Collection allItems
Object nodeOp

Static Private Attributes

final Log log = LogFactory.getLog(SimpleLookup.class)
NbDialogDisplayer dialog

Detailed Description

Simple lookup implementation. It can be used to create temporary lookups that do not change over time. The result stores references to all objects passed in the constructor. Those objecst are the only ones returned as result.
Author:
David Strupl


Constructor & Destructor Documentation

org::openide::util::lookup::SimpleLookup::SimpleLookup Collection  instances  )  [inline, package]
 

Creates new Result object with supplied instances parameter.

Parameters:
instances to be used to return from the lookup

org::openide::util::lookup::SimpleLookup::SimpleLookup Collection  keys,
InstanceContent.Convertor  conv
[inline, package]
 


Member Function Documentation

org::openide::util::lookup::SimpleLookup::[static initializer]  )  [inline, static, package]
 

Object org::openide::util::lookup::SimpleLookup::lookup Class  clazz  )  [inline]
 

Result org::openide::util::lookup::SimpleLookup::lookup Template  template  )  [inline]
 

boolean org::openide::util::lookup::SimpleLookup::matches Template  t,
AbstractLookup.Pair  item
[inline, static, private]
 

A method that defines matching between Item and Template.

Parameters:
item the item to match
Returns:
true if item matches the template requirements, false if not

String org::openide::util::lookup::SimpleLookup::toString  )  [inline]
 


Member Data Documentation

Collection org::openide::util::lookup::SimpleLookup::allItems [private]
 

This variable is initialized in constructor and thus null value is not allowed as its value.

NbDialogDisplayer org::openide::util::lookup::SimpleLookup::dialog [static, private]
 

final Log org::openide::util::lookup::SimpleLookup::log = LogFactory.getLog(SimpleLookup.class) [static, private]
 

Object org::openide::util::lookup::SimpleLookup::nodeOp [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:14:02 2009 for ACS Java API by doxygen 1.3.8