Search in sources :

Example 1 with OpenStrategy

use of org.eclipse.jface.util.OpenStrategy in project nebula.widgets.nattable by eclipse.

the class RowPostSelectionProvider method hookControl.

protected void hookControl(Control control) {
    OpenStrategy handler = new OpenStrategy(control);
    handler.addPostSelectionListener(new SelectionAdapter() {

        @Override
        public void widgetSelected(SelectionEvent e) {
            handlePostSelect(e);
        }
    });
}
Also used : OpenStrategy(org.eclipse.jface.util.OpenStrategy) SelectionAdapter(org.eclipse.swt.events.SelectionAdapter) SelectionEvent(org.eclipse.swt.events.SelectionEvent)

Aggregations

OpenStrategy (org.eclipse.jface.util.OpenStrategy)1 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)1 SelectionEvent (org.eclipse.swt.events.SelectionEvent)1