Files
alfresco-community-repo/source/java/org/alfresco/web/bean/wizard/IWizardBean.java
Ariel Backenroth 2190c4f29d - adding aspect to webapp nodes to differentiate them from ordinary folders in the avm_webapps directory
- refactoring of generate and regenerate calls to take a FormInstanceData object
- adding in support for overriding step title and description properties in wizards so as to be able to format them with parameters
- making the step descriptions in create form wizard reiterate the form name so as to give the user better context
- displaying avm task resources in the manage task screen.  still need to get actions working and clean this up a bit.
- making output path patterns sandbox relative
- refactored utility method for combining avm paths sensitive to webapp vs sandbox relative paths.
- adding a default description for generated renditions

todo:
- cleanup some usage of AVMNode from ManageTaskBean
- get actions to appear in manage task screen
- add a multi value property to the web project for all its webapps
- properly use overridden values for forms from the web project settings

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-21 20:34:00 +00:00

65 lines
1.6 KiB
Java

package org.alfresco.web.bean.wizard;
import org.alfresco.web.bean.dialog.IDialogBean;
/**
* Interface that defines the contract for a wizard backing bean
*
* @author gavinc
*/
public interface IWizardBean extends IDialogBean
{
/**
* Called when the next button is pressed by the user
*
* @return Reserved for future use
*/
public String next();
/**
* Called when the back button is pressed by the user
*
* @return Reserved for future use
*/
public String back();
/**
* Returns the label to use for the next button
*
* @return The next button label
*/
public String getNextButtonLabel();
/**
* Returns the label to use for the back button
*
* @return The back button label
*/
public String getBackButtonLabel();
/**
* Determines whether the next button on the wizard should be disabled
*
* @return true if the button should be disabled
*/
public boolean getNextButtonDisabled();
/**
* Returns the title to be used for the current step
* <p>If this returns <tt>null</tt> the WizardManager will
* lookup the title via the dialog configuration</p>
*
* @return The title or <tt>null</tt> if the title is to be acquired via configuration
*/
public String getStepTitle();
/**
* Returns the description to be used for the current step
* <p>If this returns <tt>null</tt> the WizardManager will
* lookup the description via the dialog configuration</p>
*
* @return The decsription or <tt>null</tt> if the title is to be acquired via configuration
*/
public String getStepDescription();
}