Class AbstractAdapterEditor
java.lang.Object
org.esa.snap.ui.AbstractDialog
org.esa.snap.ui.ModalDialog
org.esa.snap.ui.tooladapter.dialogs.AbstractAdapterEditor
- Direct Known Subclasses:
ToolAdapterEditorDialog,ToolAdapterTabbedEditorDialog
A dialog window used to edit an operator, or to create a new operator.
It shows details of an operator such as: descriptor details (name, alias, label, version, copyright,
authors, description), system variables, preprocessing tool, product writer, tool location,
operator working directory, command line template content, tool output patterns and parameters.
-
Field Summary
FieldsFields 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
Modifier and TypeMethodDescriptionprotected abstract JPanelprotected abstract JPanelprotected abstract JComponentprotected abstract JPanelprotected abstract JPanelprotected abstract JPanelprotected abstract JPanelprotected abstract JPanelprotected voidonOK()Called if the "OK" button has been clicked.protected voidonOther()Called if a non-standard button has been clicked.intshow()Shows the dialog.protected booleanCalled in order to perform input validation.Methods inherited from class org.esa.snap.ui.ModalDialog
closeMethods 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, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setResizable, setTitle, showErrorDialog, showErrorDialog, showErrorDialog, showInformationDialog, showInformationDialog, showInformationDialog, showWarningDialog, showWarningDialog, showWarningDialog
-
Field Details
-
context
-
logger
-
-
Method Details
-
createMainPanel
-
createDescriptorPanel
-
createVariablesPanel
-
createPreProcessingPanel
-
createToolInfoPanel
-
createPatternsPanel
-
createParametersPanel
-
createBundlePanel
-
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.
-
onOK
protected void onOK()Description copied from class:AbstractDialogCalled if the "OK" button has been clicked. The default implementation callsAbstractDialog.hide(). Clients should override this method to implement meaningful behaviour.- Overrides:
onOKin classAbstractDialog
-
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.
-
onOther
protected void onOther()Description copied from class:AbstractDialogCalled if a non-standard button has been clicked. The default implementation callsAbstractDialog.hide(). Clients should override this method to implement meaningful behaviour.- Overrides:
onOtherin classAbstractDialog
-