Description
A certain number of operations from the Eclipse plugin (like magma:run) are applicable only to web projects. Moreover, there are a few other opertaions (like magma:war or war deploy) that are applicable only to magmawar projects.
The ideal whould be to hide toolbar/menu actions that does not apply. Since adding and removing icons from the toolbar causes jitter, it could be a good idea to find a balance, like leaving always the same number of toolbar operations.
In this case :
- non web projects : run test, debug test, clean install
- web projects : run, debug, clean install
- war projects : run, debug, war/deploy (could be a question after war is completed, or before starting war creation)