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.
We're writing lots of tutorials and trying to orient them around teaching people modern ways to do things in NetBeans. But in some cases, there are support classes for things we *don't* want people to do, and none for the thing we *do* want them to do. CookieAction is a case in point - I want to teach people how to use Lookup effectively, and not tell anyone to subclass Node.Cookie. But if I do that, then they need to implement ContextAwareAction themselves - which is really implementing plumbing we already have for CookieAction - we just need an equivalent that works against Utilities.actionsGlobalContext().
Certainly needed, but not trivial (as we found in projects/projectui).
spi.actions definitely handles this; probably so does some sort of annotation stuff?
Actions.context. *** This bug has been marked as a duplicate of bug 166658 ***