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

Summary: Look does not allow getCookie, getLookup to be overridden
Product: contrib Reporter: Chris Webster <cwebster>
Component: LooksAssignee: Petr Hrebejk <phrebejk>
Status: VERIFIED INVALID    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Exception Reporter:

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