We don't want some things recalled in preferences (e.g. tree sorting) as they aren't the same for all choose data. Ensure we put out desired values in first.
()
| 167 | * aren't the same for all choose data. Ensure we put out desired values in first. |
| 168 | */ |
| 169 | private void overridePrefs() |
| 170 | { |
| 171 | UIPropertyContext baseContext = UIPropertyContext.createContext("tablePrefs"); |
| 172 | PropertyContext context = baseContext.createChildContext(treeViewModel.getDataView().getPrefsKey()); |
| 173 | final String VIEW_INDEX_PREFS_KEY = "viewIdx"; |
| 174 | context.setInt(VIEW_INDEX_PREFS_KEY, treeViewModel.getDefaultTreeViewIndex()); |
| 175 | } |
| 176 | |
| 177 | private void initComponents() |
| 178 | { |
no test coverage detected