for (final ValueGem valueGem : valueGemPanelMap.keySet()) {
if (gemSet.contains(valueGem)) {
ValueEntryPanel valueEntryPanel = getValueEntryPanel(valueGem);
valueEntryPanel.refreshDisplay();
// If a value gem is connected to a broken code gem, its least constrained type
// will be null. In that case disable editing it.
valueEntryPanel.setEditable(valueEntryPanel.getContext().getLeastConstrainedTypeExpr() != null);