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 64148 - Prepopulation of Cookies in NewAction wizard could do better
Summary: Prepopulation of Cookies in NewAction wizard could do better
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 16:42 UTC by Petr Hrebejk
Modified: 2010-05-04 23:32 UTC (History)
0 users

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 Petr Hrebejk 2005-09-12 16:42:34 UTC
When creating action for my loader it took some time before I realized I should
use my data object class into the cookie class field. There are
DataObject.class, EditorCookie.class, etc., prepopulated. This does not seem to
be what most users will want to do. Who wants to add an Action to every node
which has OpenCookie?

Maybe we should look into the manifest of the module and list at least all the
defined DataLoaders.
Comment 1 Jesse Glick 2005-09-12 23:25:24 UTC
Perhaps true. Depends on what you are making the action for, I guess.

What I would suggest: use javamodel etc. to scan the current project for any
class which (directly or indirectly) implements Node.Cookie, and add all such
entries to the list.
Comment 2 Petr Hrebejk 2005-09-13 12:35:43 UTC
I originally wanted to propose something similiar, but. First, we do not want to
propagate the Node.Cookie that much I think. Second, as we use node's lookup
there is no such constraint as having the class implementing Node.Cookie. (I
might be wrong here)
Comment 3 Jesse Glick 2005-09-14 00:12:05 UTC
CookieAction uses Node.getCookie and requires Node.Cookie implementations.
Comment 4 Martin Krauskopf 2005-09-14 07:10:02 UTC
Not for 5.0
Comment 5 Martin Krauskopf 2008-02-07 17:50:54 UTC
I'm not working on APISupport anymore. Reassigning to owner of the component, so
the issue is not 'forgotten' forever.
Comment 6 Jesse Glick 2010-05-04 23:32:01 UTC
No clear list of things which you might want your action to be sensitive to.