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,
ProductNodeList<Product> sourceProducts,
int selectedSourceIndex,
boolean sourceProductOwner) |
NewProductDialog(Window parent,
ProductNodeList<Product> sourceProducts,
int selectedSourceIndex,
boolean sourceProductOwner,
String prefix) |
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
Product |
getResultProduct() |
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(ProductSubsetDef subsetDef) |
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, onClose, onHelp, onNo, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showInformationDialog, showWarningDialog
public NewProductDialog(Window parent, ProductNodeList<Product> sourceProducts, int selectedSourceIndex, boolean sourceProductOwner)
public NewProductDialog(Window parent, ProductNodeList<Product> sourceProducts, int selectedSourceIndex, boolean sourceProductOwner, String prefix)
public int show()
AbstractDialog
super.show()
at the end.show
in class AbstractDialog
public void setSubsetDef(ProductSubsetDef subsetDef)
public boolean isSourceProductOwner()
public Product getSourceProduct()
public Product getResultProduct()
protected void onCancel()
AbstractDialog
AbstractDialog.hide()
.
Clients should override this method to implement meaningful behaviour.onCancel
in class AbstractDialog
protected void onOK()
AbstractDialog
AbstractDialog.hide()
.
Clients should override this method to implement meaningful behaviour.onOK
in class AbstractDialog
public Exception getException()
protected boolean verifyUserInput()
AbstractDialog
verifyUserInput
in class AbstractDialog
true
if and only if the validation was successful.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.