Package com.iizigo.editor
Class SyntSelectionProvider.CCombo
- java.lang.Object
-
- com.iizigo.editor.SyntSelectionProvider
-
- com.iizigo.editor.SyntSelectionProvider.CCombo
-
- All Implemented Interfaces:
IClipboardSelection
,org.eclipse.jface.viewers.ISelectionProvider
- Enclosing class:
- SyntSelectionProvider
public static class SyntSelectionProvider.CCombo 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 CCombo(org.eclipse.swt.custom.CCombo 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.void
copy()
Copy.void
cut()
Cut.protected java.lang.String
getText()
Gets the text.protected boolean
isEnabled()
Checks if enabled.void
paste()
Pastes text.protected void
setText(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:SyntSelectionProvider
Checks if enabled.- Specified by:
isEnabled
in classSyntSelectionProvider
-
getText
protected java.lang.String getText()
Description copied from class:SyntSelectionProvider
Gets the text.- Specified by:
getText
in classSyntSelectionProvider
-
setText
protected void setText(java.lang.String s)
Description copied from class:SyntSelectionProvider
Sets the text.- Specified by:
setText
in classSyntSelectionProvider
-
copy
public void copy()
Description copied from class:SyntSelectionProvider
Copy.- Specified by:
copy
in interfaceIClipboardSelection
- Specified by:
copy
in classSyntSelectionProvider
-
cut
public void cut()
Description copied from class:SyntSelectionProvider
Cut.- Specified by:
cut
in interfaceIClipboardSelection
- Specified by:
cut
in classSyntSelectionProvider
-
paste
public void paste()
Description copied from class:SyntSelectionProvider
Pastes text.- Specified by:
paste
in interfaceIClipboardSelection
- Specified by:
paste
in classSyntSelectionProvider
-
_setSelection
protected void _setSelection(int begin, int end)
Description copied from class:SyntSelectionProvider
Sets the selection.- Specified by:
_setSelection
in classSyntSelectionProvider
-
_getSelection
protected org.eclipse.swt.graphics.Point _getSelection()
Description copied from class:SyntSelectionProvider
Gets the selection.- Specified by:
_getSelection
in classSyntSelectionProvider
-
-