public class GenericWizardToolbarAction extends ToolbarAction
Configure this action as follows:
<action type="toolbar"
classname="de.hybris.platform.hmc.util.action.GenericWizardToolbarAction"
name=" ... you action name here ..."
icon=" ... your action icon here ...">
<parameter key="wizardType" value="... your wizard type code here ..."/>
</action>
| Modifier and Type | Field and Description |
|---|---|
static String |
WIZARD_TYPE |
| Constructor and Description |
|---|
GenericWizardToolbarAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getWizardType() |
boolean |
isActive()
Enables the action only if the current user is allowed to create instances of the wizard item type.
|
ActionResult |
perform(ActionEvent actionEvent)
Implement your action code in this method.
|
createDialogChip, getConfirmationMessage, getHMCContext, getNodeParams, hasDialogChip, initialize, needConfirmationpublic static final String WIZARD_TYPE
public String getWizardType()
public ActionResult perform(ActionEvent actionEvent) throws JaloBusinessException
HMCActionactionEvent - ActionEvent contains input data for the actionJaloBusinessExceptionpublic boolean isActive()
isActive in class ToolbarActionCopyright © 2017 SAP SE. All Rights Reserved.