MCPcopy Create free account
hub / github.com/GateNLP/gate-core / setLocations

Method setLocations

src/main/java/gate/swing/XJFileChooser.java:146–148  ·  view source on GitHub ↗

Useful to modify the locations used by this file chooser. @param locations a map of (resource name file location) @see #getLocations()

(Map<String, String> locations)

Source from the content-addressed store, hash-verified

144 * @see #getLocations()
145 */
146 public void setLocations(Map<String, String> locations) {
147 Gate.getUserConfig().put(XJFileChooser.class.getName(), locations);
148 }
149
150 /**
151 * Set the file name to be used instead of the one saved in the preferences.

Callers 6

approveSelectionMethod · 0.95
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
menuKeyPressedMethod · 0.80
actionPerformedMethod · 0.80

Calls 3

getUserConfigMethod · 0.95
getNameMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected