def completeSet(self, text, line, begidx, endidx): arguments = splitArguments(line) if len(arguments) > 2 or len(arguments) == 2 and not text: return [] active_module = self.ert().analysisConfig().getActiveModule() variables = active_module.getVariableNames() return autoCompleteListWithSeparator(text, variables)
def completeFunction(self, text, line, begidx, endidx): if self.__completer is not None: if callable(self.__completer): model = self.getModelForFunction() return self.__completer(model, text, line, begidx, endidx) else: key = extractFullArgument(line, endidx) return autoCompleteListWithSeparator(key, self.__completer) return []
def complete_function(self, text, line, begidx, endidx): key = extractFullArgument(line, endidx) return autoCompleteListWithSeparator(key, self.fetchSupportedKeys())
def completeAnalysisModule(self, text, line, begidx, endidx): key = extractFullArgument(line, endidx) return autoCompleteListWithSeparator(key, self.getAnalysisModules())
def complete_function(self, text, line, begidx, endidx): key = extractFullArgument(line, endidx) return autoCompleteListWithSeparator(key, self.fetchSupportedKeys())