protected class GenericItemChip.GenericWizardEditorContext extends GenericItemChip.GenericItemEditorContext implements WizardEditorContext
| Modifier | Constructor and Description |
|---|---|
protected |
GenericWizardEditorContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableButton(String buttonName)
Implementation of
WizardEditorContext interface. |
void |
enableButton(String buttonName)
Implementation of
WizardEditorContext interface. |
List |
getSelectedValues(String fieldName)
Returns all selected values of the specified attribute editor.
|
void |
hideButton(String buttonName)
Implementation of
WizardEditorContext interface. |
void |
hideField(String fieldName)
Marks an editor field as hidden.
|
void |
hideTab(String tabName)
Hides a specified tab.
|
void |
reloadAllFields()
Reloads all field data from the underlying wizard item.
|
void |
reloadField(String field)
Reloads the field data from the underlying wizard item.
|
void |
reloadFields(Collection fields)
Reloads a given set of field data from the underlying wizard item.
|
void |
setButtonLabel(String buttonName,
String buttonLabelKey)
Implementation of
WizardEditorContext interface. |
void |
setProcessingMode(boolean processingMode)
Implementation of
WizardEditorContext interface. |
void |
setRefreshInterval(int seconds)
Changes the refresh period.
|
void |
setSelectedValues(String fieldName,
List newSelectedValues)
Changes the currently selected values within the editor of a specified field.
|
void |
setStatus(String status,
int percentage,
boolean error)
Implementation of
WizardEditorContext interface. |
void |
showButton(String buttonName)
Implementation of
WizardEditorContext interface. |
void |
showErrorMessage(String errorMessage)
Shows an error message containing the given message text.
|
void |
showErrorTab(String errorMessage)
Shows the error tab containing the given message text.
|
void |
showField(String fieldName)
Marks an editor field as visible.
|
void |
showInfoMessage(String infoMessage)
Shows an info message containing the given message text.
|
void |
showInfoTab(String infoMessage)
Shows the info tab containing the given message text.
|
void |
showSummaryTab(String summaryMessage)
Shows the summary tab containing the given message text.
|
void |
showTab(String tabName)
Shows a specified tab.
|
clearAllErrors, clearAllInfoMessages, clearError, close, getAttributeChip, getCurrentTab, getCurrentValue, getDescription, getEditorFields, getItemType, getPendingInfoMessages, getTabChip, isEditable, isOptional, nextTab, postInfoMessage, previousTab, removeInfoMessage, setCurrentTab, setCurrentValue, setDescription, setEditable, setInitialValue, setOptional, showErrorcanOpenWizard, expandNode, findOrganizer, getChip, openItem, openOrganizer, openType, openType, openTypeAndSearch, openWizard, openWizardclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearAllErrors, clearAllInfoMessages, clearError, close, getCurrentTab, getCurrentValue, getDescription, getEditorFields, getItemType, getPendingInfoMessages, isEditable, isOptional, nextTab, postInfoMessage, previousTab, removeInfoMessage, setCurrentTab, setCurrentValue, setDescription, setEditable, setInitialValue, setOptional, showErrorcanOpenWizard, expandNode, openItem, openType, openType, openTypeAndSearch, openWizard, openWizardpublic List getSelectedValues(String fieldName) throws JaloInvalidParameterException
WizardEditorContextgetSelectedValues in interface WizardEditorContextJaloInvalidParameterException - if either the editor does not own the field at all, or the editor does not support selection.public void setSelectedValues(String fieldName, List newSelectedValues) throws JaloInvalidParameterException
WizardEditorContextsetSelectedValues in interface WizardEditorContextJaloInvalidParameterException - if either the editor does not own the field at all, the editor does not support selection or one of the
new selected values are currently not hold by the editor.public void hideField(String fieldName) throws JaloInvalidParameterException
WizardEditorContexthideField in interface WizardEditorContextJaloInvalidParameterException - if no field with the specified name existspublic void showField(String fieldName) throws JaloInvalidParameterException
WizardEditorContextshowField in interface WizardEditorContextJaloInvalidParameterException - if no field with the specified name existspublic void hideTab(String tabName) throws JaloInvalidParameterException
WizardEditorContexthideTab in interface WizardEditorContextJaloInvalidParameterException - if the tab is currently shown or no such tab exists.public void showTab(String tabName)
WizardEditorContextItemEditorContext.setCurrentTab(String) to activate it.showTab in interface WizardEditorContextpublic void hideButton(String buttonName)
WizardEditorContext interface. hideButton in interface WizardEditorContextWizardEditorContext.hideButton(String)public void showButton(String buttonName)
WizardEditorContext interface. showButton in interface WizardEditorContextWizardEditorContext.showButton(String)public void enableButton(String buttonName)
WizardEditorContext interface. enableButton in interface WizardEditorContextWizardEditorContext.enableButton(String)public void disableButton(String buttonName)
WizardEditorContext interface. disableButton in interface WizardEditorContextWizardEditorContext.disableButton(String)public void setButtonLabel(String buttonName, String buttonLabelKey)
WizardEditorContext interface. setButtonLabel in interface WizardEditorContextWizardEditorContext.setButtonLabel(String, String)public void setRefreshInterval(int seconds)
WizardEditorContextWizardBusinessItem.pollStatus(WizardEditorContext) in process mode.setRefreshInterval in interface WizardEditorContextpublic void setProcessingMode(boolean processingMode)
WizardEditorContext interface. setProcessingMode in interface WizardEditorContextprocessingMode - if true the wizard is showing and polling processing informationWizardEditorContext.setProcessingMode(boolean)public void setStatus(String status, int percentage, boolean error)
WizardEditorContext interface. setStatus in interface WizardEditorContextstatus - a status textpercentage - the completion level from [0, 100]WizardEditorContext.setStatus(String, int, boolean)public void reloadAllFields()
WizardEditorContextreloadAllFields in interface WizardEditorContextpublic void reloadField(String field)
WizardEditorContextreloadField in interface WizardEditorContextfield - the field to reloadpublic void reloadFields(Collection fields)
WizardEditorContextreloadFields in interface WizardEditorContextpublic void showInfoTab(String infoMessage)
showInfoTab in interface WizardEditorContextinfoMessage - public void showErrorTab(String errorMessage)
showErrorTab in interface WizardEditorContexterrorMessage - public void showSummaryTab(String summaryMessage)
showSummaryTab in interface WizardEditorContextsummaryMessage - public void showInfoMessage(String infoMessage)
showInfoMessage in interface WizardEditorContextinfoMessage - public void showErrorMessage(String errorMessage)
showErrorMessage in interface WizardEditorContexterrorMessage - Copyright © 2017 SAP SE. All Rights Reserved.