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

Method selectMode

app/src/processing/app/Base.java:1110–1117  ·  view source on GitHub ↗
(final File sketch)

Source from the content-addressed store, hash-verified

1108
1109
1110 private Mode selectMode(final File sketch) {
1111 final ModeInfo modeInfo = modeInfoFor(sketch);
1112 final Mode specifiedMode = modeInfo == null ? null : findMode(modeInfo.id);
1113 if (specifiedMode != null) {
1114 return specifiedMode;
1115 }
1116 return promptForMode(sketch, modeInfo);
1117 }
1118
1119
1120 protected Mode findMode(String id) {

Callers 1

handleOpenMethod · 0.95

Calls 3

modeInfoForMethod · 0.95
findModeMethod · 0.95
promptForModeMethod · 0.95

Tested by

no test coverage detected