public class ProductChooser extends ModalDialog
ID_OK_APPLY_CANCEL, ID_OK_APPLY_CANCEL_HELP, ID_OK_CANCEL, ID_OK_CANCEL_HELP, ID_YES_NO, ID_YES_NO_HELP
Constructor and Description |
---|
ProductChooser(Window parent,
String title,
String helpID,
Product[] allProducts,
Product[] selectedProducts) |
Modifier and Type | Method and Description |
---|---|
Product[] |
getSelectedProducts() |
int |
show()
Shows the dialog.
|
protected boolean |
verifyUserInput()
Called in order to perform input validation.
|
close
center, collectButtons, getButton, getButtonID, getButtonMask, getButtonPanel, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onCancel, onClose, onHelp, onNo, onOK, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showInformationDialog, showWarningDialog
public int show()
AbstractDialog
super.show()
at the end.show
in class AbstractDialog
protected boolean verifyUserInput()
AbstractDialog
verifyUserInput
in class AbstractDialog
true
if and only if the validation was successful.public Product[] getSelectedProducts()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.