01: package net.sourceforge.squirrel_sql.plugins.codecompletion.prefs;
02:
03: import java.io.Serializable;
04:
05: public class CodeCompletionPreferences implements Serializable {
06: public static final int CONFIG_SP_WITH_PARARMS = 0;
07: public static final int CONFIG_SP_WITHOUT_PARARMS = 1;
08: public static final int CONFIG_UDF_WITH_PARARMS = 2;
09: public static final int CONFIG_UDF_WITHOUT_PARARMS = 3;
10:
11: private int generalCompletionConfig = CONFIG_SP_WITH_PARARMS;
12: private PrefixedConfig[] prefixedConfigs = new PrefixedConfig[0];
13: private int maxLastSelectedCompletionNames = 1;
14:
15: public int getGeneralCompletionConfig() {
16: return generalCompletionConfig;
17: }
18:
19: public void setGeneralCompletionConfig(int generalCompletionConfig) {
20: this .generalCompletionConfig = generalCompletionConfig;
21: }
22:
23: public PrefixedConfig[] getPrefixedConfigs() {
24: return prefixedConfigs;
25: }
26:
27: public void setPrefixedConfigs(PrefixedConfig[] prefixedConfigs) {
28: this .prefixedConfigs = prefixedConfigs;
29: }
30:
31: public int getMaxLastSelectedCompletionNames() {
32: return maxLastSelectedCompletionNames;
33: }
34:
35: public void setMaxLastSelectedCompletionNames(
36: int maxLastSelectedCompletionNames) {
37: this .maxLastSelectedCompletionNames = maxLastSelectedCompletionNames;
38: }
39: }
40: // Just a Test
|