Revision e9b059af
Added by Katja Luther almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java | ||
---|---|---|
22 | 22 |
import org.apache.commons.lang.StringUtils; |
23 | 23 |
import org.eclipse.core.runtime.IProgressMonitor; |
24 | 24 |
import org.eclipse.core.runtime.IStatus; |
25 |
import org.eclipse.jface.dialogs.IDialogConstants; |
|
25 | 26 |
import org.eclipse.jface.dialogs.IDialogSettings; |
26 | 27 |
import org.eclipse.jface.viewers.ILabelProvider; |
27 | 28 |
import org.eclipse.jface.viewers.LabelProvider; |
... | ... | |
468 | 469 |
parent.setLayout(gridLayout); |
469 | 470 |
|
470 | 471 |
super.createButtonsForButtonBar(parent); |
472 |
super.getButton(IDialogConstants.OK_ID).setEnabled(false); |
|
471 | 473 |
} |
472 | 474 |
|
473 | 475 |
protected SelectionListener getNewWizardButtonSelectionListener(){ |
... | ... | |
496 | 498 |
T entity = (T) wizard.getEntity(); |
497 | 499 |
refresh(); |
498 | 500 |
setPattern(entity); |
501 |
|
|
499 | 502 |
// if (getConversationHolder() != null){ |
500 | 503 |
// getConversationHolder().bind(); |
501 | 504 |
// } |
Also available in: Unified diff
ok button in selection dialogs should be disabled as long as nothing is selected