MCPcopy
hub / github.com/Col-E/Recaf / load

Method load

src/main/java/me/coley/recaf/ui/MainMenu.java:280–286  ·  view source on GitHub ↗

Prompt a file open prompt to load an application.

()

Source from the content-addressed store, hash-verified

278 * Prompt a file open prompt to load an application.
279 */
280 private void load() {
281 fcLoadApp.setInitialDirectory(config().getRecentLoadDir());
282 File file = fcLoadApp.showOpenDialog(null);
283 if(file != null) {
284 controller.loadWorkspace(IOUtil.toPath(file), null);
285 }
286 }
287
288 /**
289 * Adds a selected resource to the current workspace.

Callers

nothing calls this directly

Calls 4

configMethod · 0.95
toPathMethod · 0.95
getRecentLoadDirMethod · 0.80
loadWorkspaceMethod · 0.80

Tested by

no test coverage detected