First cut of the start workflow wizard

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-08-11 12:22:18 +00:00
parent 60cf6056c5
commit 65f394a878
13 changed files with 663 additions and 31 deletions

View File

@@ -187,6 +187,18 @@ public class WizardManager
{
return Integer.toString(this.currentStep);
}
/**
* Returns the name of the current step, wizards should use
* the name of the step rather than the step number to discover
* the position as extra steps can be added via configuration.
*
* @return The name of the current step
*/
public String getCurrentStepName()
{
return ((StepConfig)this.steps.get(this.currentStep-1)).getName();
}
/**
* Returns a list of UIListItems representing the steps of the wizard