16171819202122
import org.eclipse.swt.events.KeyEvent; public class UngroupColumnsAction implements IKeyAction { public void run(NatTable natTable, KeyEvent event) { natTable.doCommand(new UngroupColumnCommand()); }
499500501502503504505506507508509
columnStyleEditor.setEnabled(true); columnStyleEditor.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { natTable.doCommand(new UngroupColumnCommand()); } }); } }; }