org.eclipse.jface.fieldassist
public interface IControlContentAdapter2
ContentProposalAdapter in order to
retrieve and set the selection range in a control.| Modifier and Type | Method and Description |
|---|---|
Point |
getSelection(Control control)
Get the current selection range in the control.
|
void |
setSelection(Control control,
Point range)
Set the current selection range in the control.
|
Point getSelection(Control control)
control - the control whose position is to be retrieved.void setSelection(Control control, Point range)
control - the control whose position is to be retrieved.range - a point representing the selection start and endGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.