public final class MasterDetailFocusAdapter extends Object implements org.eclipse.swt.events.FocusListener
| Constructor and Description |
|---|
MasterDetailFocusAdapter(IMasterDetailSelectionProvider selectionProvider,
Supplier<? extends org.eclipse.swt.widgets.Control> detailSupplier)
Initializes me with the selection provider and a supplier to query for what
is the detail control to check for focus.
|
| Modifier and Type | Method and Description |
|---|---|
void |
focusGained(org.eclipse.swt.events.FocusEvent e) |
void |
focusLost(org.eclipse.swt.events.FocusEvent e) |
public MasterDetailFocusAdapter(IMasterDetailSelectionProvider selectionProvider, Supplier<? extends org.eclipse.swt.widgets.Control> detailSupplier)
selectionProvider - the selection providerdetailSupplier - the detail control supplierpublic void focusGained(org.eclipse.swt.events.FocusEvent e)
focusGained in interface org.eclipse.swt.events.FocusListenerpublic void focusLost(org.eclipse.swt.events.FocusEvent e)
focusLost in interface org.eclipse.swt.events.FocusListenerCopyright © 2019. All rights reserved.