This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 26275 - Create Lookup.Provider interface
Summary: Create Lookup.Provider interface
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords: API
Depends on:
Blocks: 26076 26617
  Show dependency tree
 
Reported: 2002-08-05 09:28 UTC by Jaroslav Tulach
Modified: 2008-12-22 21:01 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-08-05 09:28:05 UTC
In various situations there seems to a need to
find out whether an object is Lookupable or not.
This is not needed for our own classes where we
can always add getLookup method, but for example
if we want to check if a component is Lookupable,
then a interface

interface Lookup.Provider {
  public Lookup getLookup ();
}

could be very handy. I suggest to create such
interface. It should be needed by actions redesign
done by Dafe and possibly by settings enhancements
being worked on by Honza.

There already was a discussion about this on nbdev:
http://www.netbeans.org/servlets/ReadMsg?msgId=329118&listName=nbdev
Comment 1 David Strupl 2002-08-19 15:33:46 UTC
Openide version 3.6. Lookup.java version 1.16.
Comment 2 Jesse Glick 2002-08-19 16:57:32 UTC
Neat, will be good for apisupport too.