protected static class DelegatingContentAssistContextFactory.StatefulFactory.SelectionBasedRegion extends java.lang.Object implements ITextRegion
EMPTY_REGION
Constructor and Description |
---|
DelegatingContentAssistContextFactory.StatefulFactory.SelectionBasedRegion(org.eclipse.jface.text.ITextSelection selection) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int offset) |
boolean |
contains(ITextRegion other) |
int |
getLength() |
int |
getOffset() |
ITextRegion |
merge(ITextRegion region) |
public DelegatingContentAssistContextFactory.StatefulFactory.SelectionBasedRegion(org.eclipse.jface.text.ITextSelection selection)
public int getOffset()
getOffset
in interface ITextRegion
public int getLength()
getLength
in interface ITextRegion
public ITextRegion merge(ITextRegion region)
merge
in interface ITextRegion
public boolean contains(ITextRegion other)
contains
in interface ITextRegion
public boolean contains(int offset)
contains
in interface ITextRegion