public class ProductSubsetDialog 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 |
---|
ProductSubsetDialog(Window window,
Product product)
Constructs a new subset dialog.
|
ProductSubsetDialog(Window window,
Product product,
double memWarnLimit)
Constructs a new subset dialog.
|
ProductSubsetDialog(Window window,
Product product,
ProductSubsetDef productSubsetDef)
Constructs a new subset dialog.
|
ProductSubsetDialog(Window window,
Product product,
ProductSubsetDef productSubsetDef,
double memWarnLimit)
Constructs a new subset dialog.
|
Modifier and Type | Method and Description |
---|---|
Product |
getProduct() |
ProductSubsetDef |
getProductSubsetDef() |
protected void |
onCancel()
Called if the "Cancel" button has been clicked.
|
protected void |
onOK()
Called if the "OK" button has been clicked.
|
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, show, showErrorDialog, showInformationDialog, showWarningDialog, verifyUserInput
public ProductSubsetDialog(Window window, Product product)
window
- the parent windowproduct
- the product for which the subset is to be specified, must not be null
public ProductSubsetDialog(Window window, Product product, double memWarnLimit)
window
- the parent windowproduct
- the product for which the subset is to be specified, must not be null
memWarnLimit
- the warning limit in megabytespublic ProductSubsetDialog(Window window, Product product, ProductSubsetDef productSubsetDef)
window
- the parent windowproduct
- the product for which the subset is to be specified, must not be null
productSubsetDef
- the initial product subset definition, can be null
public ProductSubsetDialog(Window window, Product product, ProductSubsetDef productSubsetDef, double memWarnLimit)
window
- the parent windowproduct
- the product for which the subset is to be specified, must not be null
productSubsetDef
- the initial product subset definition, can be null
memWarnLimit
- the warning limit in megabytespublic Product getProduct()
public ProductSubsetDef getProductSubsetDef()
protected void onOK()
AbstractDialog
AbstractDialog.hide()
.
Clients should override this method to implement meaningful behaviour.onOK
in class AbstractDialog
protected void onCancel()
AbstractDialog
AbstractDialog.hide()
.
Clients should override this method to implement meaningful behaviour.onCancel
in class AbstractDialog
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.