Svatopluk Dedic created NETBEANS-358: ----------------------------------------
Summary: Lack support for ContextAwareAction in @EditorActionRegistration Key: NETBEANS-358 URL: https://issues.apache.org/jira/browse/NETBEANS-358 Project: NetBeans Issue Type: Improvement Components: editor - Actions/Menu/Toolbar Reporter: Svatopluk Dedic The registration creates a WrapperEditorAction, which delays loading of the code. Context-aware actions typically control their enablement, which circumvents this feature of WrapperEditorAction. But implementor has to code some trivial boilerplate code to pick up EditorActionRegistration's attributes (name, icons, ...) into his instance. Or of course, use only a subset of EAR annotation. The WrapperEditorAction, when activated, does not create a context-aware delegate although the delegate implements that interface. I think that the processing should be extended to make a special case for ContextAwareActions -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- 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