public interface IQuickAssistInvocationContext
This interface can be implemented by clients.
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the length of the selection at the invocation offset.
|
int |
getOffset()
Returns the offset where quick assist was invoked.
|
ISourceViewer |
getSourceViewer()
Returns the viewer for this context.
|
int getOffset()
-1
if unknownint getLength()
-1
if none or unknownISourceViewer getSourceViewer()
null
if not available
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.