@Override protected Control createButtonBar(Composite parent) { GridData gd = new GridData(GridData.FILL_HORIZONTAL); //Composite sep = new Composite(parent, SWT.NULL); //sep.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW)); //gd.heightHint = 1; Label sep = new Label(parent, SWT.HORIZONTAL|SWT.SEPARATOR); sep.setLayoutData(gd); Control bar = super.createButtonBar(parent); return bar; }
@Override protected Control createButtonBar(Composite parent) { GridData gd = new GridData(GridData.FILL_HORIZONTAL); //Composite sep = new Composite(parent, SWT.NULL); //sep.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW)); //gd.heightHint = 1; Label sep = new Label(parent, SWT.HORIZONTAL|SWT.SEPARATOR); sep.setLayoutData(gd); Control bar = super.createButtonBar(parent); return bar; }
@Override protected Control createButtonBar(Composite parent) { Control ret = super.createButtonBar(parent); getButton(IDialogConstants.OK_ID).setEnabled(false); return ret; }
@Override protected Control createButtonBar(Composite parent) { Control ret = super.createButtonBar(parent); if (fDisableCancel) getButton(IDialogConstants.CANCEL_ID).setEnabled(false); updateButtons(); return ret; }
@Override protected Control createButtonBar(Composite parent) { Control ret = super.createButtonBar(parent); if (needLength) updateOKButtonState(); else // always enable the OK button if we only need the expression getButton(IDialogConstants.OK_ID).setEnabled(true); return ret; } }
super.createButtonBar(composite); setHelpAvailable(helpAvailable); return composite;
super.createButtonBar(composite); setHelpAvailable(helpAvailable); return composite;
super.createButtonBar(composite); setHelpAvailable(helpAvailable); return composite;