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 end
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.