Package org.esa.snap.rcp.placemark
Class ProductChooser
- java.lang.Object
-
- org.esa.snap.ui.AbstractDialog
-
- org.esa.snap.ui.ModalDialog
-
- org.esa.snap.rcp.placemark.ProductChooser
-
public class ProductChooser extends ModalDialog
-
-
Field Summary
-
Fields inherited from class org.esa.snap.ui.ModalDialog
ID_OK_APPLY_CANCEL, ID_OK_APPLY_CANCEL_HELP, ID_OK_CANCEL, ID_OK_CANCEL_HELP, ID_YES_NO, ID_YES_NO_HELP
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Product[]getSelectedProducts()intshow()Shows the dialog.protected booleanverifyUserInput()Called in order to perform input validation.-
Methods inherited from class org.esa.snap.ui.ModalDialog
close
-
Methods inherited from class org.esa.snap.ui.AbstractDialog
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, showErrorDialog, showErrorDialog, showInformationDialog, showInformationDialog, showInformationDialog, showWarningDialog, showWarningDialog, showWarningDialog
-
-
-
-
Method Detail
-
show
public int show()
Description copied from class:AbstractDialogShows the dialog. Overrides shall callsuper.show()at the end.- Overrides:
showin classAbstractDialog- Returns:
- the identifier of the last button pressed or zero if this is a modeless dialog.
-
verifyUserInput
protected boolean verifyUserInput()
Description copied from class:AbstractDialogCalled in order to perform input validation.- Overrides:
verifyUserInputin classAbstractDialog- Returns:
trueif and only if the validation was successful.
-
getSelectedProducts
public Product[] getSelectedProducts()
-
-