tableColumnContext.addSelectionListener(new SortOrderSelectionListener( VIEW_CONTEXT_COLUMN_INDEX)); tableBindings.addSelectionListener(widgetDefaultSelectedAdapter(e -> selectedTableKeyBindings()));
@Override protected Control createControl(Composite parent) { text = new Text(parent, getStyle()); text.addSelectionListener(widgetDefaultSelectedAdapter(e -> handleDefaultSelection(e))); text.addKeyListener(new KeyAdapter() {
table.setLayoutData(gd); table.addSelectionListener(widgetDefaultSelectedAdapter(e -> { if (fHistoryStatus.isOK()) { okPressed();
colorAndFontTable.addSelectionListener(widgetDefaultSelectedAdapter(event -> changeFontOrColor (colorAndFontTable.getSelectionIndex()))); changeButton.addSelectionListener(widgetSelectedAdapter(event -> changeFontOrColor (colorAndFontTable.getSelectionIndex()))); defaultsButton.addSelectionListener(widgetSelectedAdapter(e -> resetColorsAndFonts ()));
filterText.addSelectionListener(widgetDefaultSelectedAdapter(e -> { if (e.detail == SWT.ICON_CANCEL) clearText();
((Tree) viewer.getControl()).addSelectionListener(widgetDefaultSelectedAdapter(event -> { ISelection selection = viewer.getSelection(); if (selection.isEmpty()) {
tree.addSelectionListener(widgetDefaultSelectedAdapter(e -> { updateOKStatus(); if (fCurrStatus.isOK()) {
table.addSelectionListener(SelectionListener.widgetDefaultSelectedAdapter(e -> gotoSelectedElement()));
table.setHeaderVisible(true); table.setMenu(createPopUpMenu()); table.addSelectionListener(widgetDefaultSelectedAdapter(e -> { TableItem[] items = table.getSelection(); if (items.length > 0) editEntry(items[0]);
updateButtons(info); })); table.addSelectionListener(widgetDefaultSelectedAdapter(e -> { handlePluginInfoPressed(); }));