|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.selection.management.AbstractStepHandler com.sri.emo.wizard.selection.management.PromptStepType
public class PromptStepType
Handles the 'choose step type' state. Creates a series of inputs for radio buttons and instructions as well as button for the next step.
Field Summary | |
---|---|
static int |
CUSTOM_PICKLIST
Constant for steps that have a custom picklist. |
static int |
INSTANCE_PICKLIST
Constant for steps that have a per-instance picklist. |
static int |
INSTRUCTIONS_ONLY
Constant for steps that have custom instructions only. |
(package private) String[][] |
menuitems
Array of menu items that occur for the step type. |
static int |
MODEL_PICKLIST
Constant for steps that have a per-model picklist. |
static String |
STATE_DESCRIPTION
Constant for description of this state. |
static String |
STATE_NAME
Constant for access to this state. |
static int |
TEXT_ENTRY
Constant for steps that have custom text entry. |
Fields inherited from class com.sri.emo.wizard.selection.management.AbstractStepHandler |
---|
ADD_MODE, ATTRIBUTE_SESSION_KEY, EDIT_MODE, PARAM_RETURN_URL |
Constructor Summary | |
---|---|
PromptStepType(String wizId,
String stepId)
Default Constructor that takes a step and an (optional) step id. |
Method Summary | |
---|---|
protected void |
addInputs(String currentStepType,
ExpressoResponse response)
Adds the inputs to the step. |
void |
handleRequest(ExpressoRequest request,
ExpressoResponse response)
Displays the 'prompt step type' state. |
Methods inherited from class com.sri.emo.wizard.selection.management.AbstractStepHandler |
---|
buildCancelTransition, getDefinition, getStep, getStepFromParameters, getStepName, getStepTitle, getWizardTitle, isEditing, parseStepAttributes, setEditing, transitionOnError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MODEL_PICKLIST
public static final int INSTANCE_PICKLIST
public static final int CUSTOM_PICKLIST
public static final int TEXT_ENTRY
public static final int INSTRUCTIONS_ONLY
public static final String STATE_NAME
public static final String STATE_DESCRIPTION
String[][] menuitems
Constructor Detail |
---|
public PromptStepType(String wizId, String stepId) throws DBException
wizId
- The Wizard Id.stepId
- The Step Id.
DBException
- if superclass throws exception.Method Detail |
---|
public void handleRequest(ExpressoRequest request, ExpressoResponse response) throws DBException, ControllerException
handleRequest
in interface StateHandler
request
- ControllerRequest The Function's ControllerRequest
object.response
- ControllerResponse The Function's ControllerResponse
object.
DBException
- upon underlying database exception error.
ControllerException
- upon underlying ControllerException error.protected void addInputs(String currentStepType, ExpressoResponse response) throws ControllerException
currentStepType
- String the current value defined for the step.response
- ControllerResponse what we populate with inputs.
ControllerException
- upon ControllerResponse.add(Input)
error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |