*/
public void addToLayout(DataLocationPanelLayout layout) {
Flow row = Flow.invisible();
JComponent[] comps = getComponentsForLayout();
row.add(comps[0], Box.createHorizontalStrut(10), comps[1]);
layout.add(null, row.container(), null);
}
private JComponent[] getComponentsForLayout() {
JComponent left = InputFieldFactory.getCapsule(defaultActivator, InputFieldFactory.HORIZONTAL_LABEL_LEFT);
JComponent right = InputFieldFactory.getCapsule(portField, InputFieldFactory.HORIZONTAL_LABEL_LEFT);