MCPcopy Create free account
hub / github.com/BaseXdb/basex / quit

Method quit

basex-core/src/main/java/org/basex/gui/GUI.java:247–255  ·  view source on GitHub ↗

Closes the GUI. @return success flag

()

Source from the content-addressed store, hash-verified

245 * @return success flag
246 */
247 public boolean quit() {
248 if(editor.confirm(null)) {
249 saveOptions();
250 context.close();
251 super.dispose();
252 return true;
253 }
254 return false;
255 }
256
257 /**
258 * Saves the current configuration.

Callers 3

disposeMethod · 0.95
executeMethod · 0.45
initMacMethod · 0.45

Calls 4

saveOptionsMethod · 0.95
closeMethod · 0.65
confirmMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected