01: package net.sourceforge.squirrel_sql.plugins.codecompletion.completionfunctions;
02:
03: import net.sourceforge.squirrel_sql.plugins.codecompletion.CodeCompletionInfo;
04:
05: public class GenericCodeCompletionInfo extends CodeCompletionInfo {
06: private String _completionString;
07: private String _toString;
08:
09: public GenericCodeCompletionInfo(String completionString) {
10: _completionString = completionString;
11: _toString = _completionString.replace('\n', ' ');
12: }
13:
14: public String getCompareString() {
15: return _completionString;
16: }
17:
18: public String toString() {
19:
20: return _toString;
21: }
22: }
|