mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-25 03:18:27 +08:00
GT-3269 changes from review
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ public interface ListingDisplayListener {
|
||||
/**
|
||||
* Callback whenever the set of visible addresses change in the listing.
|
||||
* @param visibleAddresses the current set of visible addresses in the listing. If no
|
||||
* visible addresses are in the listing view, then an empty addressSetView will be return
|
||||
* visible addresses are in the listing view, then an empty AddressSetView will be passed.
|
||||
*/
|
||||
void visibleAddressesChanged(AddressSetView visibleAddresses);
|
||||
}
|
||||
|
||||
+1
-1
@@ -476,7 +476,7 @@ public class ListingPanel extends JPanel implements FieldMouseListener, FieldLoc
|
||||
}
|
||||
catch (Throwable t) {
|
||||
Msg.showError(this, fieldPanel, "Error in Display Listener",
|
||||
"Execption encountered in client callback", t);
|
||||
"Execption encountered when notifying listeners of change in display", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ public class VerticalPixelAddressMapImpl implements VerticalPixelAddressMap {
|
||||
|
||||
@Override
|
||||
public AddressSetView getAddressSet() {
|
||||
// If there are no visible layouts (no open data to dispaly or visible height = 0
|
||||
// If there are no visible layouts (no open data to display or listing component height = 0)
|
||||
if (layouts.isEmpty()) {
|
||||
return new AddressSet();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user