}
/** Creates operations combo boxes with labels. */
protected void addOperations(final JPanel optionsPanel, final int leftWidth, final int rightWidth) {
final JPanel sectionPanel = getParamPanel(Tools.getString("ClusterBrowser.Operations"));
final Info savedOpIdRef = getSameServiceOpIdRef();
sameAsOperationsWi = widgetFactory.createInstance(
Widget.Type.COMBOBOX,
savedOpIdRef,
getSameServicesOperations(),
Widget.NO_REGEXP,
rightWidth,
Widget.NO_ABBRV,
new AccessMode(AccessMode.ADMIN, AccessMode.NORMAL),
Widget.NO_BUTTON);
final String toolTip;
if (savedOpIdRef == null) {
toolTip = "";
} else {
toolTip = savedOpIdRef.getValueForGui();
}
sameAsOperationsWi.setToolTipText(toolTip);
final JLabel label = new JLabel(Tools.getString("ClusterBrowser.SameAs"));
sameAsOperationsWi.setLabel(label, "");
final JPanel saPanel = new JPanel(new SpringLayout());