public abstract class SingleTargetProductDialog extends ModelessDialog
ID_APPLY_CLOSE, ID_APPLY_CLOSE_HELP
Modifier | Constructor and Description |
---|---|
protected |
SingleTargetProductDialog(AppContext appContext,
String title,
int buttonMask,
String helpID) |
protected |
SingleTargetProductDialog(AppContext appContext,
String title,
int buttonMask,
String helpID,
TargetProductSelectorModel model) |
protected |
SingleTargetProductDialog(AppContext appContext,
String title,
int buttonMask,
String helpID,
TargetProductSelectorModel model,
boolean alwaysWriteOutput) |
protected |
SingleTargetProductDialog(AppContext appContext,
String title,
String helpID) |
Modifier and Type | Method and Description |
---|---|
protected abstract Product |
createTargetProduct()
Creates the desired target product.
|
AppContext |
getAppContext() |
TargetProductSelector |
getTargetProductSelector() |
protected void |
handleInitialisationError(Throwable t) |
protected void |
handleProcessingError(Throwable t) |
protected void |
onApply()
Called if the "Apply" button has been clicked.
|
void |
showSuppressibleInformationDialog(String infoMessage,
String propertyName)
Shows an information dialog on top of this dialog.
|
close
center, collectButtons, getButton, getButtonID, getButtonMask, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onCancel, onClose, onHelp, onNo, onOK, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, show, showErrorDialog, showInformationDialog, showWarningDialog, verifyUserInput
protected SingleTargetProductDialog(AppContext appContext, String title, String helpID)
protected SingleTargetProductDialog(AppContext appContext, String title, int buttonMask, String helpID)
protected SingleTargetProductDialog(AppContext appContext, String title, int buttonMask, String helpID, TargetProductSelectorModel model)
protected SingleTargetProductDialog(AppContext appContext, String title, int buttonMask, String helpID, TargetProductSelectorModel model, boolean alwaysWriteOutput)
public AppContext getAppContext()
public TargetProductSelector getTargetProductSelector()
protected void onApply()
AbstractDialog
onApply
in class AbstractDialog
protected void handleInitialisationError(Throwable t)
protected void handleProcessingError(Throwable t)
public void showSuppressibleInformationDialog(String infoMessage, String propertyName)
infoMessage
- The message.propertyName
- The (simple) property name used to store the user option in the application's preferences.protected abstract Product createTargetProduct() throws Exception
GPF
createProduct
methods.
The method should throw a OperatorException
in order to signal "nominal" processing errors,
other exeption types are treated as internal errors.Exception
- if an error occurs, an OperatorException
is signaling "nominal" processing errors.Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.