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.
Summary: | Action wiz - more informative body for CookieAction.performAction | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jesse Glick <jglick> |
Component: | Templates | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | SIMPLEFIX |
Priority: | P4 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2005-08-29 23:26:40 UTC
Fixed. Checking in ui/wizard/action/DataModel.java; 1.15 -> 1.16; Checking in ui/wizard/action/cookieAction.javx; 1.8 -> 1.9; verified Shouldn't we use lookup-style - generate rather: WhateverObject c = (WhateverObject) activatedNodes[0].getLookup().lookup(WhateverObject.class); then: WhateverCookie c = (WhateverCookie) activatedNodes[0].getCookie(WhateverCookie.class); ? I wouldn't bother with getLookup; CookieAction cannot deal with non-Node.Cookie interfaces anyway. That is left to Yarda's proposed action rewrite. |