cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

APIReview137201

Revision as of 14:39, 6 November 2009 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Summary of the change

Addition of factory method org.openide.util.lookup.Lookups.singleton(Object obj, String id). It would be a variety of an already existing factory method Lookups.singleton(Object) that would allow to specify an Id of the object.

Goal of the API change

The goal is to provide a publicly available simple implementation of a lookup that allows to assign Id to the contained objects.

Justification

The current API does not allow to create such a Lookup instance without creating a custom subclass of Lookup and if API change 137191 is approved, it will be necessary.