MCPcopy Index your code
hub / github.com/benfry/processing4 / buildCoreModes

Method buildCoreModes

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

Source from the content-addressed store, hash-verified

744
745
746 void buildCoreModes() {
747 ModeContribution javaModeContrib =
748 ModeContribution.load(this, Platform.getContentFile("modes/java"),
749 getDefaultModeIdentifier());
750 if (javaModeContrib == null) {
751 Messages.showError("Startup Error",
752 "Could not load Java Mode, please reinstall Processing.",
753 new Exception("ModeContribution.load() was null"));
754
755 } else {
756 // PDE X calls getModeList() while it's loading, so coreModes must be set
757 //coreModes = new Mode[] { javaModeContrib.getMode() };
758 coreMode = javaModeContrib.getMode();
759 }
760 }
761
762
763 public List<ModeContribution> getContribModes() {

Callers 1

BaseMethod · 0.95

Calls 5

loadMethod · 0.95
getContentFileMethod · 0.95
showErrorMethod · 0.95
getModeMethod · 0.95

Tested by

no test coverage detected