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

Method cmdMode

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

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

()

Source from the content-addressed store, hash-verified

119 * @return result of check
120 */
121 private boolean cmdMode() {
122 final int mode = gui.gopts.get(GUIOptions.SEARCHMODE);
123 return mode == 2 || gui.context.data() == null;
124 }
125
126 /**
127 * Checks if the input is a query.

Callers 3

keyReleasedMethod · 0.95
completeInputMethod · 0.95
popupMenuMethod · 0.95

Calls 2

getMethod · 0.65
dataMethod · 0.45

Tested by

no test coverage detected