1 | private void addCheckKeywordsCheckBox(JPanel panel, int col, int row) {↵ | | 1 | private void addQualifyTableNamesCheckBox(JPanel panel, int col, int row) {↵
|
2 | GridBagConstraints c = new GridBagConstraints();↵ | | 2 | GridBagConstraints c = new GridBagConstraints();↵
|
3 | c.gridx = col;↵ | | 3 | c.gridx = col;↵
|
4 | c.gridy = row; ↵ | | 4 | c.gridy = row; ↵
|
5 | c.anchor = GridBagConstraints.WEST;↵ | | 5 | c.anchor = GridBagConstraints.WEST;↵
|
| | | 6 | // i18n[SQLScriptPreferencesPanel.qualifyCheckboxLabel=Qualify table names in scripts with schema]↵
|
6 | String cbLabelStr =↵ | | 7 | String cbLabelStr =↵
|
7 | ↵ | | 8 | ↵
|
8 | s_stringMgr.getString("PreferencesPanel.checkKeywords");↵ | | 9 | s_stringMgr.getString("SQLScriptPreferencesPanel.qualifyCheckboxLabel");↵
|
| | | 10 | // i18n[SQLScriptPreferencesPanel.prefsToolTip=Table names appear in scripts as SCHEMA.TABLE]↵
|
9 | String cbToolTipText =↵ | | 11 | String cbToolTipText = ↵
|
10 | s_stringMgr.getString("PreferencesPanel.checkKeywordsToolTip");↵ | | 12 | s_stringMgr.getString("SQLScriptPreferencesPanel.qualifyCheckboxToolTip");↵
|
11 | ↵ | | 13 | ↵
|
12 | checkKeywordsCheckBox = new JCheckBox(cbLabelStr);↵ | | 14 | qualifyTableNamesCheckBox = new JCheckBox(cbLabelStr);↵
|
13 | checkKeywordsCheckBox.setToolTipText(cbToolTipText);↵ | | 15 | qualifyTableNamesCheckBox.setToolTipText(cbToolTipText);↵
|
14 | panel.add(checkKeywordsCheckBox, c); ↵ | | 16 | panel.add(qualifyTableNamesCheckBox, c);↵
|
15 | | | 17 |
|