public class NewProductDialog 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 |
|---|
NewProductDialog(Window parent,
org.esa.snap.core.datamodel.ProductNodeList<org.esa.snap.core.datamodel.Product> sourceProducts,
int selectedSourceIndex,
boolean sourceProductOwner) |
NewProductDialog(Window parent,
org.esa.snap.core.datamodel.ProductNodeList<org.esa.snap.core.datamodel.Product> sourceProducts,
int selectedSourceIndex,
boolean sourceProductOwner,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException() |
org.esa.snap.core.datamodel.Product |
getResultProduct() |
org.esa.snap.core.datamodel.Product |
getSourceProduct() |
boolean |
isSourceProductOwner() |
protected void |
onCancel()
Called if the "Cancel" button has been clicked.
|
protected void |
onOK()
Called if the "OK" button has been clicked.
|
void |
setSubsetDef(org.esa.snap.core.dataio.ProductSubsetDef subsetDef) |
int |
show()
Shows the dialog.
|
protected boolean |
verifyUserInput()
Called in order to perform input validation.
|
closecenter, collectButtons, getButton, getButtonID, getButtonMask, getButtonPanel, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onClose, onHelp, onNo, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showInformationDialog, showWarningDialogpublic NewProductDialog(Window parent, org.esa.snap.core.datamodel.ProductNodeList<org.esa.snap.core.datamodel.Product> sourceProducts, int selectedSourceIndex, boolean sourceProductOwner)
public int show()
AbstractDialogsuper.show() at the end.show in class AbstractDialogpublic void setSubsetDef(org.esa.snap.core.dataio.ProductSubsetDef subsetDef)
public boolean isSourceProductOwner()
public org.esa.snap.core.datamodel.Product getSourceProduct()
public org.esa.snap.core.datamodel.Product getResultProduct()
protected void onCancel()
AbstractDialogAbstractDialog.hide().
Clients should override this method to implement meaningful behaviour.onCancel in class AbstractDialogprotected void onOK()
AbstractDialogAbstractDialog.hide().
Clients should override this method to implement meaningful behaviour.onOK in class AbstractDialogpublic Exception getException()
protected boolean verifyUserInput()
AbstractDialogverifyUserInput in class AbstractDialogtrue if and only if the validation was successful.Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.