Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ private void createEventHandlers() {
model_.studio().logs().logMessage("updated offset for view " + pathNum_ + "; new value is " +
newOffset + " (with channel offset of " + channelOffset + ")");
} else {
model_.studio().logs().showError("The beam must be enabled to update the offset.", btnUpdate_);
final String name = (model_.devices().adapter().geometry() == GeometryType.SCAPE)
? "sheet" : "beam";
model_.studio().logs().showError(
"The " + name + " must be enabled to update the offset.", btnUpdate_);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ private void createUserInterface() {

isUsingPLogic_ = model_.devices().isUsingPLogic();

final JLabel lblExcitation = new JLabel("Excitation side:");
final JLabel lblExcitation = new JLabel("Excitation:");
final JLabel lblEpi = new JLabel("Epi side:");

cbxBeamExc_ = new CheckBox("Beam", false);
cbxBeamExc_ = new CheckBox(geometryType == GeometryType.SCAPE ? "Sheet" : "Beam", false);
cbxSheetExc_ = new CheckBox("Sheet", false);
cbxBeamEpi_ = new CheckBox("Beam", false);
cbxSheetEpi_ = new CheckBox("Sheet", false);
Expand Down
Loading