This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It would be nice to have a possibility to customize the list of project popup actions (e.g. by layer declaration) - Java ME Toolbar based on NetBeans Mobility needs to modify the list of actions.
Use case: remove configurations from menu. Simple enough to make the action provider look in some folder for registered actions.
You can already add actions the same way as J2SEProject - put things in Projects/Actions in SFS. The example I wrote down below while we were on the phone is "remove configurations from menu" - but there is nothing related to configurations in the menu. Do you really need to remove things, or just add them (in which case this issue is already solved)?
Yes, we need also to remove menu items, e.g. Batch Build, Batch Clean & Build, Batch Clean, Batch Deploy which are related to project configurations.
Moving target to M2 since we are already in the stabilization phase of M1, but I should be able to attach a patch here soon
On second thought.... Mobility project actions are now all declarative, registered in Projects/org-netbeans-modules-mobility-project/Actions/Root Probably this will cause some regression of popup menu performance, but it is now customizable. Fixed in changeset 26bd6b67abf4. Radko, do you need to customize the popups of any of the subnodes of the project, or just the top-level project node?
Most important for us is to customize popup of top-level node. I'll check if we need something to customize on subnodes but I don't think so now.
Okay. I left the door open for doing this if we need it later. I.e. The root node's actions are in Projects/org-netbeans-modules-mobility-project/Actions/Root but we can always add support for Projects/org-netbeans-modules-mobility-project/Actions/Resources Projects/org-netbeans-modules-mobility-project/Actions/Configurations Projects/org-netbeans-modules-mobility-project/Actions/Sources if we need to.
Verified.