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

Method rebuildContribExamples

app/src/processing/app/Base.java:545–550  ·  view source on GitHub ↗

Instantiates and adds new contributed modes to the contribModes list. Checks for duplicates so the same mode isn't instantiates twice. Does not remove modes because modes can't be removed once they are instantiated.

()

Source from the content-addressed store, hash-verified

543 * remove modes because modes can't be removed once they are instantiated.
544 */
545 void rebuildContribExamples() {
546 if (exampleContribs == null) {
547 exampleContribs = new ArrayList<>();
548 }
549 ExamplesContribution.loadMissing(this);
550 }
551
552
553 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 2

BaseMethod · 0.95
refreshContribsMethod · 0.95

Calls 1

loadMissingMethod · 0.95

Tested by

no test coverage detected