layoutChunkNodeControls(grid, sourceNodeField, selectSourceNodeAction);
layoutChunkNodeControls(grid, targetNodeField, selectTargetNodeAction);
if (mandatory) {
return InvisiblePanel.newPanel(grid);
} else {
BoxBuilder col = BoxBuilder.vertical().leftAligned();
col.addAll(InputFieldFactory.getCapsule(activator), grid);
return InvisiblePanel.newPanel(col);
}
}