You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/05/11 08:08:00 UTC
[jira] [Created] (NETBEANS-5671) ActionProvider should support
running Action using specific ProjectConfiguration
Svatopluk Dedic created NETBEANS-5671:
-----------------------------------------
Summary: ActionProvider should support running Action using specific ProjectConfiguration
Key: NETBEANS-5671
URL: https://issues.apache.org/jira/browse/NETBEANS-5671
Project: NetBeans
Issue Type: Improvement
Components: projects - Generic Infrastructure, projects - Gradle, projects - Maven
Reporter: Svatopluk Dedic
Assignee: Svatopluk Dedic
Fix For: 12.5
When invoking an action programmatically, it's not possible to specify what ProjectConfiguration the action should use. This may mean the action is not available at all (if defined specifically in a certain Configuration), or may be invoked differently - the *active* configuration is always used. The only chance is to change the active configuration - which changes the project's view *for everyone*, not just for the action being invoked.
Likewise setting the active configuration back after action completes is not a good idea, since the config may flip back and forth unexpectedly for the user.
Note: Gradle does not support Configurations atm.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists