private G createNextAction(IWizardStepDescriptor wizardStep, IActionHandler actionHandler, IView<E> view, ITranslationProvider translationProvider, Locale locale, IValueConnector modelConnector, Map<String, Object> context) { NextAction nextAction = new NextAction(wizardStep, modelConnector); nextAction .setIconImageURL(getIconFactory(context).getForwardIconImageURL()); G nextGAction = getActionFactory(context).createAction(nextAction, actionHandler, view, locale); if (wizardStep.getNextStepDescriptor(context) != null) { getActionFactory(context).setActionEnabled(nextGAction, true); } else { getActionFactory(context).setActionEnabled(nextGAction, false); } if (wizardStep.getNextLabelKey() != null) { getActionFactory(context).setActionName( nextGAction, translationProvider.getTranslation(wizardStep.getNextLabelKey(), locale)); } else { getActionFactory(context).setActionName( nextGAction, translationProvider.getTranslation( IWizardStepDescriptor.DEFAULT_NEXT_KEY, locale)); } return nextGAction; }