protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
ActionForward fwd = mapping.findForward("finish");
DefaultWizardSequence seq = new DefaultWizardSequence(fwd, ApplicationsPlugin.MESSAGE_RESOURCES_KEY, "applicationShortcutWizard", CoreUtil.getReferer(request),
"applicationShortcutWizard", this.getSessionInfo(request));
seq.addStep(new WizardStep("/applicationShortcutApplication.do", true));
seq.addStep(new WizardStep("/applicationShortcutDetails.do"));
seq.addStep(new WizardStep("/applicationShortcutAdditionalDetails.do"));
boolean isUserConsole = getSessionInfo(request).isUserConsoleContext();
seq.addStep(new WizardStep( isUserConsole ? "/applicationShortcutPersonalPolicy.do" : "/applicationShortcutPolicySelection.do"));
seq.addStep(new WizardStep("/applicationShortcutSummary.do"));
return seq;
}