MCPcopy Index your code
hub / github.com/RevEngAI/plugin-ghidra / back

Method back

src/main/java/docking/wizard/WizardManager.java:325–342  ·  view source on GitHub ↗

Programmatically move the wizard back one panel. Simulates the user clicking on the 'back' button. Returns true if not on the first panel. @return true if not on the first panel

()

Source from the content-addressed store, hash-verified

323 * @return true if not on the first panel
324 */
325 public boolean back() {
326 if (backButton.isEnabled()) {
327 try {
328 setCurrentPanel(panelMgr.getPreviousPanel());
329 }
330 catch (IllegalPanelStateException e) {
331 if (!handleIllegalStateException(e, false)) {
332 return false;
333 }
334 }
335 String msg = panelMgr.getStatusMessage();
336 if (msg != null) {
337 setStatusMessage(msg);
338 }
339 return true;
340 }
341 return false;
342 }
343
344 /**
345 * Programmatically move the wizard forward one panel.

Callers 1

initMethod · 0.95

Calls 6

setCurrentPanelMethod · 0.95
setStatusMessageMethod · 0.95
isEnabledMethod · 0.80
getPreviousPanelMethod · 0.65
getStatusMessageMethod · 0.65

Tested by

no test coverage detected