Package org.eclipse.ease
Interface ICompletionContext
- All Superinterfaces:
IScriptEngineProvider
- All Known Implementing Classes:
BasicContext
,JavaScriptCompletionContext
,PythonCompletionContext
-
Method Summary
Modifier and TypeMethodDescriptionGet a text filter to be applied for the current input.Get all loaded modules.int
int
getText()
boolean
isStringLiteral
(String input) boolean
isValid()
Methods inherited from interface org.eclipse.ease.IScriptEngineProvider
getScriptEngine
-
Method Details
-
getTokens
-
getText
String getText() -
getReplaceOffset
int getReplaceOffset() -
getReplaceLength
int getReplaceLength() -
getLoadedModules
List<ModuleDefinition> getLoadedModules()Get all loaded modules.- Returns:
- loaded modules
-
getFilter
String getFilter()Get a text filter to be applied for the current input. This is the prefix of the expected completion proposals.- Returns:
- filter text or empty string
-
isStringLiteral
-
isValid
boolean isValid() -
getScriptType
ScriptType getScriptType() -
getResource
Object getResource()
-