1 | private void addTestColumnNamesCheckBox(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 | s_stringMgr.getString("PreferencesPanel.testColumnNames");↵ | | 8 | s_stringMgr.getString("SQLScriptPreferencesPanel.qualifyCheckboxLabel");↵
|
| | | 9 | // i18n[SQLScriptPreferencesPanel.prefsToolTip=Table names appear in scripts as SCHEMA.TABLE]↵
|
8 | String cbToolTipText =↵ | | 10 | String cbToolTipText = ↵
|
9 | s_stringMgr.getString("PreferencesPanel.testColumnNamesToolTip");↵ | | 11 | s_stringMgr.getString("SQLScriptPreferencesPanel.qualifyCheckboxToolTip");↵
|
10 | testColumnNamesCheckBox = new JCheckBox(cbLabelStr);↵ | | 12 | qualifyTableNamesCheckBox = new JCheckBox(cbLabelStr);↵
|
11 | testColumnNamesCheckBox.setToolTipText(cbToolTipText);↵ | | 13 | qualifyTableNamesCheckBox.setToolTipText(cbToolTipText);↵
|
12 | panel.add(testColumnNamesCheckBox, c); ↵ | | 14 | panel.add(qualifyTableNamesCheckBox, c);↵
|
13 | | | 15 |
|