private void applyChanges() {
int row = 0;
for (String inputName : inputStockDatabasesByName.keySet()) {
String stockDatabaseName = inputValueEditors[row].getText();
StockDatabasePresentationWrapper stockDatabaseWrapper = stockDatabasesByName.get(stockDatabaseName);
if (stockDatabaseWrapper == null) {
MessageDialog.openError(getParentShell(), "Stock Database not found", "Input: '" + inputName + "' not bound");
return;
}
inputStockDatabasesByName.put(inputName, stockDatabaseWrapper.getInner());
row++;
}
name = nameEdit.getText();
}