neilcsmith-net commented on PR #7925:
URL: https://github.com/apache/netbeans/pull/7925#issuecomment-2568012170

   > I started to think that even if I will extract actions into separate 
classes ...
   
   I'm not sure anyone mentioned extracting the actions into separate classes?! 
 The existing actions need additional `ActionReferences` added in a new path 
(eg. probably 
[here](https://github.com/apache/netbeans/blob/master/ide/projectui/src/org/netbeans/modules/project/ui/ProjectTab.java#L875)),
 and the button bar needs to load its actions from that new path, with the 
necessary context.  This allows non-IDE applications using these views to 
control what actions are in your new action panel, or hide them entirely.  The 
icons should also be registered on the actions themselves, which might need 
some care, and probably png as well as svg versions (svg support is optional).


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to