use of org.eclipse.nebula.widgets.nattable.tree.action.TreeExpandCollapseKeyAction in project nebula.widgets.nattable by eclipse.
the class TreeLayerExpandCollapseKeyBindings method configureUiBindings.
@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
TreeExpandCollapseKeyAction action = new TreeExpandCollapseKeyAction(this.selectionLayer);
uiBindingRegistry.registerFirstKeyBinding(anchorLabel(this.selectionLayer, this.treeLayer, TREE_EXPANDED_CONFIG_TYPE, new KeyEventMatcher(SWT.NONE, 32)), action);
uiBindingRegistry.registerFirstKeyBinding(anchorLabel(this.selectionLayer, this.treeLayer, TREE_COLLAPSED_CONFIG_TYPE, new KeyEventMatcher(SWT.NONE, 32)), action);
}
Aggregations