org.esa.beam.framework.gpf.ui
Class DefaultSingleTargetProductDialog
java.lang.Object
org.esa.beam.framework.ui.AbstractDialog
org.esa.beam.framework.ui.ModelessDialog
org.esa.beam.framework.gpf.ui.SingleTargetProductDialog
org.esa.beam.framework.gpf.ui.DefaultSingleTargetProductDialog
public class DefaultSingleTargetProductDialog
- extends SingleTargetProductDialog
WARNING: This class belongs to a preliminary API and may change in future releases.
- Version:
- $Revision: 8343 $ $Date: 2010-02-10 18:31:57 +0100 (Mi, 10 Feb 2010) $
- Author:
- Norman Fomferra
| Methods inherited from class org.esa.beam.framework.ui.AbstractDialog |
center, collectButtons, getButton, getButtonID, getButtonMask, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, onCancel, onClose, onHelp, onNo, onOK, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showInformationDialog, showWarningDialog, verifyUserInput |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSingleTargetProductDialog
public DefaultSingleTargetProductDialog(String operatorName,
AppContext appContext,
String title,
String helpID)
createDefaultDialog
public static SingleTargetProductDialog createDefaultDialog(String operatorName,
AppContext appContext)
show
public int show()
- Description copied from class:
AbstractDialog
- Shows the dialog. Overrides shall call
super.show() at the end.
- Overrides:
show in class AbstractDialog
- Returns:
- the identifier of the last button pressed or zero if this is a modeless dialog.
hide
public void hide()
- Description copied from class:
AbstractDialog
- Hides the dialog. Overrides shall call
super.hide() at the end. This method does nothing else than hiding the underlying Swing dialog.
- Overrides:
hide in class AbstractDialog
- See Also:
AbstractDialog.getJDialog()
createTargetProduct
protected Product createTargetProduct()
throws Exception
- Description copied from class:
SingleTargetProductDialog
- Creates the desired target product.
Usually, this method will be implemented by invoking one of the multiple
GPF
createProduct methods.
The method should throw a OperatorException in order to signal "nominal" processing errors,
other exeption types are treated as internal errors.
- Specified by:
createTargetProduct in class SingleTargetProductDialog
- Returns:
- The target product.
- Throws:
Exception - if an error occurs, an OperatorException is signaling "nominal" processing errors.
getTargetProductNameSuffix
public String getTargetProductNameSuffix()
setTargetProductNameSuffix
public void setTargetProductNameSuffix(String suffix)
getBindingContext
public com.bc.ceres.swing.binding.BindingContext getBindingContext()
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.