MCPcopy Index your code
hub / github.com/processing/processing / buildCoreModes

Method buildCoreModes

app/src/processing/app/Base.java:440–457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 /**

Callers 1

BaseMethod · 0.95

Calls 4

loadMethod · 0.95
getContentFileMethod · 0.95
getModeMethod · 0.45

Tested by

no test coverage detected