Class StyledTextXtextAdapter.ChangeSelectionProviderOnFocusGain
java.lang.Object
org.yakindu.base.xtext.utils.jface.viewers.StyledTextXtextAdapter.ChangeSelectionProviderOnFocusGain
- All Implemented Interfaces:
EventListener
,DisposeListener
,FocusListener
,SWTEventListener
- Enclosing class:
- StyledTextXtextAdapter
public static class StyledTextXtextAdapter.ChangeSelectionProviderOnFocusGain
extends Object
implements FocusListener, DisposeListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected ISelectionProvider
protected ISelectionProvider
protected IWorkbenchPartSite
-
Constructor Summary
ConstructorDescriptionChangeSelectionProviderOnFocusGain
(IWorkbenchPartSite site, ISelectionProvider selectionProviderOnFocusGain, StyledText text) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected boolean
protected void
setIgnoreNextFocusLost
(boolean b) void
-
Field Details
-
selectionProviderOnFocusGain
-
selectionProviderOnFocusLost
-
site
-
-
Constructor Details
-
ChangeSelectionProviderOnFocusGain
public ChangeSelectionProviderOnFocusGain(IWorkbenchPartSite site, ISelectionProvider selectionProviderOnFocusGain, StyledText text)
-
-
Method Details
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
setIgnoreNextFocusLost
protected void setIgnoreNextFocusLost(boolean b) -
isIgnoreNextFocusLost
protected boolean isIgnoreNextFocusLost() -
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
widgetDisposed
- Specified by:
widgetDisposed
in interfaceDisposeListener
-