コード例 #1
0
ファイル: analysis_module.py プロジェクト: eoia/ert
    def complete_set(self, text, line, begidx, endidx):
        arguments = self.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)
コード例 #2
0
ファイル: analysis_module.py プロジェクト: imclab/ResInsight
    def complete_set(self, text, line, begidx, endidx):
        arguments = self.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)
コード例 #3
0
ファイル: summary_keys.py プロジェクト: edbru/ert
 def complete_plot(self, text, line, begidx, endidx):
     key = extractFullArgument(line, endidx)
     return autoCompleteListWithSeparator(key, self.summaryKeys())
コード例 #4
0
ファイル: analysis_module.py プロジェクト: imclab/ResInsight
 def complete_select(self, text, line, begidx, endidx):
     key = extractFullArgument(line, endidx)
     return autoCompleteListWithSeparator(key, self.getAnalysisModules())
コード例 #5
0
ファイル: gen_kw_keys.py プロジェクト: eoia/ert
 def complete_print(self, text, line, begidx, endidx):
     key = extractFullArgument(line, endidx)
     return autoCompleteListWithSeparator(key, self.fetchSupportedKeys())
コード例 #6
0
 def complete_print(self, text, line, begidx, endidx):
     key = extractFullArgument(line, endidx)
     return autoCompleteListWithSeparator(key, self.fetchSupportedKeys())
コード例 #7
0
ファイル: analysis_module.py プロジェクト: eoia/ert
 def complete_select(self, text, line, begidx, endidx):
     key = extractFullArgument(line, endidx)
     return autoCompleteListWithSeparator(key, self.getAnalysisModules())
コード例 #8
0
 def complete_plot_quantile(self, text, line, begidx, endidx):
     key = extractFullArgument(line, endidx)
     return autoCompleteListWithSeparator(key, self.summaryKeys())