MCPcopy Create free account
hub / github.com/PCGen/pcgen / unloadSources

Method unloadSources

code/src/java/pcgen/gui2/PCGenFrame.java:464–474  ·  view source on GitHub ↗

Unload any currently loaded sources.

()

Source from the content-addressed store, hash-verified

462 * Unload any currently loaded sources.
463 */
464 public void unloadSources()
465 {
466 //make sure all characters are closed before unloading sources.
467 if (closeAllCharacters())
468 {
469 currentSourceSelection.set(null);
470 currentDataSetRef.set(null);
471 Globals.emptyLists();
472 updateTitle();
473 }
474 }
475
476 /**
477 * Loads a selection of sources into PCGen asynchronously and

Callers 3

actionPerformedMethod · 0.80
actionPerformedMethod · 0.80
actionPerformedMethod · 0.80

Calls 4

closeAllCharactersMethod · 0.95
emptyListsMethod · 0.95
updateTitleMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected