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

Method askForPath

code/src/java/pcgen/gui2/prefs/LocationPanel.java:404–408  ·  view source on GitHub ↗

Ask for a path, and return it (possibly return the currentPath.) @param currentPath when entering the method @param dialogTitle to show @param textField to update with the path information

(final String currentPath, final String dialogTitle, final TextField textField)

Source from the content-addressed store, hash-verified

402 * @param textField to update with the path information
403 */
404 private static void askForPath(final String currentPath, final String dialogTitle, final TextField textField)
405 {
406 GuiAssertions.assertIsJavaFXThread();
407 askForPath(new File(currentPath), dialogTitle, textField);
408 }
409
410 /**
411 * Ask for a path, and return it (possibly return the currentPath.)

Callers 1

prefsButtonHandlerMethod · 0.95

Calls 4

assertIsJavaFXThreadMethod · 0.95
setTitleMethod · 0.65
toStringMethod · 0.65
setTextMethod · 0.45

Tested by

no test coverage detected