You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/05/13 12:52:12 UTC

[GitHub] [netbeans] JaroslavTulach commented on pull request #2948: Support for Micronaut's automatic restarts (mn:run) for Maven

JaroslavTulach commented on pull request #2948:
URL: https://github.com/apache/netbeans/pull/2948#issuecomment-840534354


   The [ContextAwareAction](https://bits.netbeans.org/12.3/javadoc/org-openide-util-ui/org/openide/util/ContextAwareAction.html) concept was only introduced to properly observe _enablement_ state of such actions. Without cloning the action one cannot get `addPropertyChangeListener`, `removePropertyChangeListener` and `isEnabled()` working properly. However there is no change listener in [ActionProvider](https://bits.netbeans.org/12.3/javadoc/org-netbeans-modules-projectapi/org/netbeans/spi/project/ActionProvider.html) neither there are notifications of state changes in [ActionProvider](https://bits.netbeans.org/12.3/javadoc/org-netbeans-modules-projectapi/org/netbeans/spi/project/ActionProvider.html). As far as I can tell _context awareness_ is unnecessary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists