GP-2001_James_fix_spelling_mistakes

This commit is contained in:
James 2022-05-05 19:06:36 +00:00
parent 26f921cf6e
commit dfb7a1cfe1
3 changed files with 9 additions and 9 deletions

View file

@ -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 {

View file

@ -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;
}

View file

@ -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);