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: | Need better way for registering editor hooks | ||
---|---|---|---|
Product: | editor | Reporter: | err <err> |
Component: | -- Other -- | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | mmetelka |
Priority: | P3 | Keywords: | API |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 179047 |
Description
err
2008-06-28 22:03:05 UTC
Thanks for filing this. IMHO this is a dup of issue 85442. *** This issue has been marked as a duplicate of 85442 *** mmetelka, IIRC this issue was not covered by issue 85442. Issue 85442 is about registering actions, this issue is about
registering hooks under '<editor-preferences>', in this case 'name="kit-install-action-name-list"'. This particular
hook, registers a method that the infrastructure calls to get a list of actions which should be called when the kit is
installed.
The problem is that there can only be one kit-install-action-name-list in the system. The last module that registers it
would win I guess.
As Vita said
> This is potentially dangerous as one module could
> override a factory supplied by someone else
Lets find a solution in next.. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |