mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 21:21:56 +00:00
GT-2702: Fixing spelling.
This commit is contained in:
parent
097cf2e758
commit
6c8ee22c07
@ -93,7 +93,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen
|
|||||||
private volatile boolean isArchiving;
|
private volatile boolean isArchiving;
|
||||||
private volatile boolean isRestoring;
|
private volatile boolean isRestoring;
|
||||||
private TaskListener archivingListener;
|
private TaskListener archivingListener;
|
||||||
private TaskListener restoringListner;
|
private TaskListener restoringListener;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@ -282,7 +282,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen
|
|||||||
|
|
||||||
isRestoring = true;
|
isRestoring = true;
|
||||||
|
|
||||||
restoringListner = new TaskListener() {
|
restoringListener = new TaskListener() {
|
||||||
@Override
|
@Override
|
||||||
public void taskCompleted(Task task) {
|
public void taskCompleted(Task task) {
|
||||||
isRestoring = false;
|
isRestoring = false;
|
||||||
@ -295,7 +295,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen
|
|||||||
};
|
};
|
||||||
|
|
||||||
Task task = new RestoreTask(lastRestoreLocator, archiveJar, this);
|
Task task = new RestoreTask(lastRestoreLocator, archiveJar, this);
|
||||||
task.addTaskListener(restoringListner);
|
task.addTaskListener(restoringListener);
|
||||||
new TaskLauncher(task, tool.getToolFrame());
|
new TaskLauncher(task, tool.getToolFrame());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -623,7 +623,7 @@ public class OptionsTest extends AbstractGenericTest {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return 1;// set so that this listener gets called after the storingOptionsListnere
|
return 1;// set so that this listener gets called after the storingOptionsListener
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ public class ObjectChooserDialog<T> extends DialogComponentProvider {
|
|||||||
|
|
||||||
table.addSelectionListener(t -> objectSelected(t));
|
table.addSelectionListener(t -> objectSelected(t));
|
||||||
|
|
||||||
table.setItemPickListner(t -> objectPicked(t));
|
table.setItemPickListener(t -> objectPicked(t));
|
||||||
|
|
||||||
return table;
|
return table;
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ public class GTableWidget<T> extends JPanel {
|
|||||||
listener.itemPicked(gFilterTable.getSelectedRowObject());
|
listener.itemPicked(gFilterTable.getSelectedRowObject());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setItemPickListner(TableItemPickedListener<T> listener) {
|
public void setItemPickListener(TableItemPickedListener<T> listener) {
|
||||||
this.listener = listener;
|
this.listener = listener;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -867,7 +867,7 @@ public class GTree extends JPanel implements BusyListener {
|
|||||||
tree.getModel().addTreeModelListener(listener);
|
tree.getModel().addTreeModelListener(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeGTModelListner(TreeModelListener listener) {
|
public void removeGTModelListener(TreeModelListener listener) {
|
||||||
tree.getModel().removeTreeModelListener(listener);
|
tree.getModel().removeTreeModelListener(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ public interface FileSystem {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the given listener to be notified of file system changes.
|
* Adds the given listener to be notified of file system changes.
|
||||||
* @param listener the listner to be added.
|
* @param listener the listener to be added.
|
||||||
*/
|
*/
|
||||||
public void addFileSystemListener(FileSystemListener listener);
|
public void addFileSystemListener(FileSystemListener listener);
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package ghidra.graph.viewer.edge;
|
package ghidra.graph.viewer.edge;
|
||||||
|
|
||||||
public interface PathHighlightListner {
|
public interface PathHighlightListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the a path is highlighted.
|
* Called when the a path is highlighted.
|
@ -99,7 +99,7 @@ public class VisualGraphPathHighlighter<V extends VisualVertex, E extends Visual
|
|||||||
private CompletableFuture<ChkDominanceAlgorithm<V, E>> postDominanceFuture;
|
private CompletableFuture<ChkDominanceAlgorithm<V, E>> postDominanceFuture;
|
||||||
private CompletableFuture<Circuits> circuitFuture;
|
private CompletableFuture<Circuits> circuitFuture;
|
||||||
|
|
||||||
private PathHighlightListner listener = isHover -> {
|
private PathHighlightListener listener = isHover -> {
|
||||||
// stub
|
// stub
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ public class VisualGraphPathHighlighter<V extends VisualVertex, E extends Visual
|
|||||||
private SwingUpdateManager focusedVertexUpdater =
|
private SwingUpdateManager focusedVertexUpdater =
|
||||||
new SwingUpdateManager(() -> doUpdateFocusedVertex());
|
new SwingUpdateManager(() -> doUpdateFocusedVertex());
|
||||||
|
|
||||||
public VisualGraphPathHighlighter(VisualGraph<V, E> graph, PathHighlightListner listener) {
|
public VisualGraphPathHighlighter(VisualGraph<V, E> graph, PathHighlightListener listener) {
|
||||||
this.graph = graph;
|
this.graph = graph;
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
this.listener = listener;
|
this.listener = listener;
|
||||||
|
@ -59,12 +59,12 @@ public class GProgressBar extends JPanel {
|
|||||||
private Timer updateTimer;
|
private Timer updateTimer;
|
||||||
|
|
||||||
private EmptyBorderButton cancelButton;
|
private EmptyBorderButton cancelButton;
|
||||||
private CancelledListener cancelledListner;
|
private CancelledListener cancelledListener;
|
||||||
|
|
||||||
public GProgressBar(CancelledListener cancelledListner, boolean includeTextField,
|
public GProgressBar(CancelledListener cancelledListener, boolean includeTextField,
|
||||||
boolean includeCancelButton, boolean includeAnimatedIcon, float fontSize) {
|
boolean includeCancelButton, boolean includeAnimatedIcon, float fontSize) {
|
||||||
super(new BorderLayout(5, 1));
|
super(new BorderLayout(5, 1));
|
||||||
this.cancelledListner = cancelledListner;
|
this.cancelledListener = cancelledListener;
|
||||||
this.fontSize = fontSize;
|
this.fontSize = fontSize;
|
||||||
|
|
||||||
buildProgressPanel(includeTextField, includeCancelButton, includeAnimatedIcon);
|
buildProgressPanel(includeTextField, includeCancelButton, includeAnimatedIcon);
|
||||||
@ -199,13 +199,13 @@ public class GProgressBar extends JPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void cancel() {
|
public void cancel() {
|
||||||
if (cancelledListner != null) {
|
if (cancelledListener != null) {
|
||||||
cancelledListner.cancelled();
|
cancelledListener.cancelled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCancelledListener(CancelledListener listener) {
|
public void setCancelledListener(CancelledListener listener) {
|
||||||
this.cancelledListner = listener;
|
this.cancelledListener = listener;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buildProgressPanel(boolean includeTextField, boolean includeCancelButton,
|
private void buildProgressPanel(boolean includeTextField, boolean includeCancelButton,
|
||||||
|
Loading…
Reference in New Issue
Block a user