[ https://issues.apache.org/jira/browse/NETBEANS-5671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Svatopluk Dedic closed NETBEANS-5671. ------------------------------------- Resolution: Invalid Actually Project SPI already documents that ProjectConfiguration is to be put in the action's context Lookup. > 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 > Priority: Major > Labels: VSNetBeans > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists