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

Method run

code/src/java/pcgen/persistence/SourceFileLoader.java:221–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219 }
220
221 @Override
222 public void run()
223 {
224 Globals.emptyLists();
225 SettingsHandler.setGame(selectedGame.getName());
226 Globals.initPreferences();
227 Globals.emptyLists();
228
229 Handler handler = new LoadHandler();
230 Logging.registerHandler(handler);
231 try
232 {
233 loadCampaigns();
234 } catch (PersistenceLayerException e)
235 {
236 Logging.errorPrint("Failed to load sources", e);
237 uiDelegate.showErrorMessage(Constants.APPLICATION_NAME, "Failed to load sources, see log for details.");
238 }
239 Logging.removeHandler(handler);
240 }
241
242 public String getOGL()
243 {

Callers 3

testLoadSourcesMethod · 0.95
exportCharacterMethod · 0.95
exportPartyMethod · 0.95

Calls 9

emptyListsMethod · 0.95
setGameMethod · 0.95
initPreferencesMethod · 0.95
registerHandlerMethod · 0.95
loadCampaignsMethod · 0.95
errorPrintMethod · 0.95
removeHandlerMethod · 0.95
getNameMethod · 0.65
showErrorMessageMethod · 0.65

Tested by 1

testLoadSourcesMethod · 0.76