01: package net.sourceforge.squirrel_sql.plugins.codecompletion;
02:
03: import net.sourceforge.squirrel_sql.fw.completion.CompletionInfo;
04:
05: import java.sql.SQLException;
06: import java.util.ArrayList;
07:
08: public abstract class CodeCompletionInfo extends CompletionInfo {
09: /**
10: * Default implementation
11: */
12: public ArrayList<CodeCompletionInfo> getColumns(
13: net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo schemaInfo,
14: String colNamePattern) throws SQLException {
15: return new ArrayList<CodeCompletionInfo>();
16: }
17:
18: /**
19: * Will be called after getCompletionString()
20: * @return Position to mo mve the Carret back counted from the end of the completion string.
21: */
22: public int getMoveCarretBackCount() {
23: return 0;
24: }
25: }
|