Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 206744 - Ability to register ActionProvider per command × MIME type
Ability to register ActionProvider per command × MIME type
Product: projects
Classification: Unclassified
Component: Generic Projects UI
All All
: P3 (vote)
Assigned To: Tomas Stupka
Depends on:
Blocks: 102081
  Show dependency treegraph
Reported: 2011-12-27 15:45 UTC by Jesse Glick
Modified: 2016-07-07 08:37 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-12-27 15:45:45 UTC
ActionProvider instances may be added to global lookup, helpful for implementing e.g. Run Single regardless of project type. There are now several such instances (see URL): TestNGActionProvider, RunSQLAction, HintsActionProvider, RunJavaws, and (PHP) RunFileActionProvider. As this list grows, more and more classes will need to be loaded just to check enablement of file-sensitive actions.

Bug #102081 comment #25 discusses the issue and gives an idea for an API. The case of TestNGActionProvider indicates that it may be necessary to register a full ActionProvider instance, as some impls may need more than just command × MIME type for isActionEnabled and/or invokeAction; getSupportedActions would probably just be ignored in this case.
Comment 1 Martin Balin 2016-07-07 08:37:33 UTC
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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo