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 37762 - Look does not allow getCookie, getLookup to be overridden
Summary: Look does not allow getCookie, getLookup to be overridden
Status: VERIFIED INVALID
Alias: None
Product: contrib
Classification: Unclassified
Component: Looks (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P1 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 20:59 UTC by Chris Webster
Modified: 2008-11-18 11:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Webster 2003-12-04 20:59:44 UTC
The inability to override getCookie and getLookup
prevents support of cookie actions.
Comment 1 Petr Hrebejk 2003-12-05 09:40:32 UTC
Not sure what you mean, but 1) getCookie is deprecated and should not
be used even in nodes. 2) Look has method get LookupItems where you
can specify the content of Node's Lookup. 

Comment 2 Chris Webster 2003-12-05 14:56:53 UTC
I saw the getLookupItems method; however, the javadoc for this method
states that this allows adding a new object into the object
environment passed to other methods as the env parameter. What I want
to do is to be able to use cookie actions and I am not clear how this
would work using this method. I did a quick check of LookNode and I
don't see overriding of the methods necessary to support this,
although I may have missed something. I would like to see how to use
the open action using looks. Another example of something I would like
to do is to delegate execution support (ant) from this look. 
Comment 3 Marian Mirilovic 2004-02-29 09:36:09 UTC
verified