Package com.iizigo.editor
Class SyntSelectionProvider.Combo
- java.lang.Object
- com.iizigo.editor.SyntSelectionProvider
- com.iizigo.editor.SyntSelectionProvider.Combo
- All Implemented Interfaces:
IClipboardSelection,org.eclipse.jface.viewers.ISelectionProvider
- Enclosing class:
- SyntSelectionProvider
public static class SyntSelectionProvider.Combo extends SyntSelectionProvider
Class for Combo widget.
Nested Class Summary
Nested classes/interfaces inherited from class com.iizigo.editor.SyntSelectionProvider
SyntSelectionProvider.CCombo, SyntSelectionProvider.Combo, SyntSelectionProvider.Spinner, SyntSelectionProvider.StyledText, SyntSelectionProvider.Text
Constructor Summary
Constructors Constructor Description Combo(org.eclipse.swt.widgets.Combo c)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.graphics.Point_getSelection()Gets the selection.protected void_setSelection(int begin, int end)Sets the selection.voidcopy()Copy.voidcut()Cut.protected java.lang.StringgetText()Gets the text.protected booleanisEnabled()Checks if enabled.voidpaste()Pastes text.protected voidsetText(java.lang.String s)Sets the text.Methods inherited from class com.iizigo.editor.SyntSelectionProvider
addSelectionChangedListener, canCopy, canCut, canDelete, canPaste, delete, getSelection, isPassword, removeSelectionChangedListener, selectAll, setSelection
Method Detail
isEnabled
protected boolean isEnabled()
Description copied from class:SyntSelectionProviderChecks if enabled.- Specified by:
isEnabledin classSyntSelectionProvider
getText
protected java.lang.String getText()
Description copied from class:SyntSelectionProviderGets the text.- Specified by:
getTextin classSyntSelectionProvider
setText
protected void setText(java.lang.String s)
Description copied from class:SyntSelectionProviderSets the text.- Specified by:
setTextin classSyntSelectionProvider
copy
public void copy()
Description copied from class:SyntSelectionProviderCopy.- Specified by:
copyin interfaceIClipboardSelection- Specified by:
copyin classSyntSelectionProvider
cut
public void cut()
Description copied from class:SyntSelectionProviderCut.- Specified by:
cutin interfaceIClipboardSelection- Specified by:
cutin classSyntSelectionProvider
paste
public void paste()
Description copied from class:SyntSelectionProviderPastes text.- Specified by:
pastein interfaceIClipboardSelection- Specified by:
pastein classSyntSelectionProvider
_setSelection
protected void _setSelection(int begin, int end)Description copied from class:SyntSelectionProviderSets the selection.- Specified by:
_setSelectionin classSyntSelectionProvider
_getSelection
protected org.eclipse.swt.graphics.Point _getSelection()
Description copied from class:SyntSelectionProviderGets the selection.- Specified by:
_getSelectionin classSyntSelectionProvider