mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1183 - Version Tracking - Cache programs opened in the New Session
Panel
This commit is contained in:
parent
40abafd9c8
commit
7d88cd9b35
5 changed files with 192 additions and 134 deletions
|
@ -29,7 +29,7 @@ public abstract class AbstractMagePanelManager<T> implements PanelManager {
|
|||
private WizardState<T> state;
|
||||
|
||||
protected AbstractMagePanelManager(WizardState<T> initialState) {
|
||||
panelPath = new Stack<Integer>();
|
||||
panelPath = new Stack<>();
|
||||
this.state = initialState;
|
||||
|
||||
}
|
||||
|
@ -303,7 +303,7 @@ public abstract class AbstractMagePanelManager<T> implements PanelManager {
|
|||
++index;
|
||||
}
|
||||
doFinish();
|
||||
initialize();
|
||||
initialize(); // reset the panels
|
||||
wizardManager.enableNavigation();
|
||||
}
|
||||
|
||||
|
|
|
@ -52,5 +52,8 @@ public interface MagePanel<T> extends WizardPanel {
|
|||
*/
|
||||
public void updateStateObjectWithPanelInfo(WizardState<T> state);
|
||||
|
||||
/**
|
||||
* Called when the wizard is cancelled or otherwise finished being shown
|
||||
*/
|
||||
public void dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/* ###
|
||||
* IP: GHIDRA
|
||||
* REVIEWED: YES
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -81,7 +80,8 @@ public interface PanelManager {
|
|||
public void cancel();
|
||||
|
||||
/**
|
||||
* Set up the panel process.
|
||||
* Set up the panel process. This may also be called to clear the state of an existing panel,
|
||||
* such as when the overall wizard is finished.
|
||||
*/
|
||||
public void initialize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue