()
| 207 | } |
| 208 | |
| 209 | private void updateDisplayForSteam() { |
| 210 | File steamPath = this.gui.getSourcePath(); |
| 211 | if (Steam.isSteamPath(steamPath)) { |
| 212 | this.gui.setTextFieldSteamPathColor(COLOR_DIRECTORY_FOUND); |
| 213 | // gui.setLabelIssourcesdkinstalled("Source SDK is installed."); // TODO |
| 214 | // gui.setVisibilityLabelIssourcesdkinstalled(true); |
| 215 | this.sourcePathOk = true; |
| 216 | } else { |
| 217 | this.gui.setTextFieldSteamPathColor(COLOR_DIRECTORY_MISSING); |
| 218 | // gui.setLabelIssourcesdkinstalled("Source SDK is Not installed."); |
| 219 | // gui.setVisibilityLabelIssourcesdkinstalled(true); |
| 220 | this.sourcePathOk = false; |
| 221 | } |
| 222 | this.updateContinueButton(); |
| 223 | } |
| 224 | |
| 225 | private void updateContinueButton() { |
| 226 | this.gui.setEnabledButtonContinueAtSetup(this.minecraftPathOk && this.sourcePathOk); |
no test coverage detected