()
| 438 | |
| 439 | |
| 440 | void buildCoreModes() { |
| 441 | Mode javaMode = |
| 442 | ModeContribution.load(this, Platform.getContentFile("modes/java"), |
| 443 | getDefaultModeIdentifier()).getMode(); |
| 444 | |
| 445 | // PDE X calls getModeList() while it's loading, so coreModes must be set |
| 446 | coreModes = new Mode[] { javaMode }; |
| 447 | |
| 448 | /* |
| 449 | Mode pdexMode = |
| 450 | ModeContribution.load(this, getContentFile("modes/ExperimentalMode"), //$NON-NLS-1$ |
| 451 | "processing.mode.experimental.ExperimentalMode").getMode(); //$NON-NLS-1$ |
| 452 | |
| 453 | // Safe to remove the old Java mode here? |
| 454 | //coreModes = new Mode[] { pdexMode }; |
| 455 | coreModes = new Mode[] { pdexMode, javaMode }; |
| 456 | */ |
| 457 | } |
| 458 | |
| 459 | |
| 460 | /** |
no test coverage detected