Community
Participate
Working Groups
When I open a table editor, I see two toolbar groups: - One with "create new element", "load a customization", "load an EMF Facet", "select columns to hide", "sort column by type", "sort column by name (from A to Z)", and "sort column by name (from Z to A)" - And a second group with "only show common columns" and "hide empty columns" What's more, the first group is linked to the editor context, whereas the second is not: when I click on another view in Eclipse, the first group disappears and the second one stays active. I think the two actions in the second group should be redefined as commands instead of actions.
If I remember properly, we have been forced to use action instead of command because it wasn’t possible to implement toggling button with commands.
I found an example that uses toggle commands, so it looks like it is supported now: https://github.com/paulweb515/eclipseExamples/blob/master/org.eclipse.example.commands/plugin.xml (see the definition for "org.eclipse.example.commands.monitorCount") Also, see: http://wiki.eclipse.org/Menu_Contributions/Toggle_Button_Command