mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-2001_James_fix_spelling_mistakes
This commit is contained in:
parent
26f921cf6e
commit
dfb7a1cfe1
3 changed files with 9 additions and 9 deletions
|
@ -505,7 +505,7 @@ public class PreviewTable extends AbstractInstructionTable {
|
|||
}
|
||||
};
|
||||
|
||||
copyInstructionWithCommentsAction.setHelpLocation(dialog.getHelpLocatdion());
|
||||
copyInstructionWithCommentsAction.setHelpLocation(dialog.getHelpLocation());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -533,7 +533,7 @@ public class PreviewTable extends AbstractInstructionTable {
|
|||
}
|
||||
};
|
||||
|
||||
copyInstructionAction.setHelpLocation(dialog.getHelpLocatdion());
|
||||
copyInstructionAction.setHelpLocation(dialog.getHelpLocation());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -561,7 +561,7 @@ public class PreviewTable extends AbstractInstructionTable {
|
|||
}
|
||||
};
|
||||
|
||||
copyNoSpacesAction.setHelpLocation(dialog.getHelpLocatdion());
|
||||
copyNoSpacesAction.setHelpLocation(dialog.getHelpLocation());
|
||||
}
|
||||
|
||||
private class BinaryAction extends AbstractAction {
|
||||
|
|
|
@ -1011,7 +1011,7 @@ public class DialogComponentProvider
|
|||
* Returns the help location for this dialog
|
||||
* @return the help location
|
||||
*/
|
||||
public HelpLocation getHelpLocatdion() {
|
||||
public HelpLocation getHelpLocation() {
|
||||
HelpService helpService = DockingWindowManager.getHelpService();
|
||||
return helpService.getHelpLocation(rootPanel);
|
||||
}
|
||||
|
@ -1129,7 +1129,7 @@ public class DialogComponentProvider
|
|||
* Returns the initial location for the dialog or null if none was set
|
||||
* @return the point
|
||||
*/
|
||||
public Point getIntialLocation() {
|
||||
public Point getInitialLocation() {
|
||||
return initialLocation;
|
||||
}
|
||||
|
||||
|
@ -1273,7 +1273,7 @@ public class DialogComponentProvider
|
|||
* Returns true if this dialog remembers its size from one invocation to the next.
|
||||
* @return true if this dialog remembers its size from one invocation to the next.
|
||||
*/
|
||||
public boolean getRemberSize() {
|
||||
public boolean getRememberSize() {
|
||||
return rememberSize;
|
||||
}
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ public class DockingDialog extends JDialog implements HelpDescriptor {
|
|||
Rectangle lastBounds = boundsInfo.getEndBounds();
|
||||
applySize(lastBounds); // apply the size before we try to center
|
||||
|
||||
Point initialLocation = component.getIntialLocation();
|
||||
Point initialLocation = component.getInitialLocation();
|
||||
if (initialLocation != null) {
|
||||
// NOTE: have to call setLocation() twice because the first time the native peer
|
||||
// component's location is not actually changed; calling setLocation() again
|
||||
|
@ -154,7 +154,7 @@ public class DockingDialog extends JDialog implements HelpDescriptor {
|
|||
}
|
||||
|
||||
private void applySize(Rectangle savedBounds) {
|
||||
boolean rememberSize = component.getRemberSize();
|
||||
boolean rememberSize = component.getRememberSize();
|
||||
if (rememberSize && savedBounds != null) {
|
||||
setSize(savedBounds.width, savedBounds.height);
|
||||
return;
|
||||
|
@ -258,7 +258,7 @@ public class DockingDialog extends JDialog implements HelpDescriptor {
|
|||
}
|
||||
|
||||
private void cleanup() {
|
||||
if (component.getRemberSize() || component.getRememberLocation()) {
|
||||
if (component.getRememberSize() || component.getRememberLocation()) {
|
||||
String key = getKey();
|
||||
Rectangle rect = getBounds();
|
||||
BoundsInfo boundsInfo = dialogBoundsMap.get(key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue