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

Method queryMode

basex-core/src/main/java/org/basex/gui/GUIInput.java:130–133  ·  view source on GitHub ↗

Checks if the input is a query. @return result of check

()

Source from the content-addressed store, hash-verified

128 * @return result of check
129 */
130 private boolean queryMode() {
131 final int mode = gui.gopts.get(GUIOptions.SEARCHMODE);
132 return mode == 1 || mode == 0 && Strings.startsWith(getText(), '/');
133 }
134
135 /**
136 * Completes the input with the current combobox choice.

Callers 1

popupMenuMethod · 0.95

Calls 3

startsWithMethod · 0.95
getMethod · 0.65
getTextMethod · 0.45

Tested by

no test coverage detected