mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
First cut of dialog/wizard framework
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
53
source/java/org/alfresco/web/bean/wizard/IWizardBean.java
Normal file
53
source/java/org/alfresco/web/bean/wizard/IWizardBean.java
Normal file
@@ -0,0 +1,53 @@
|
||||
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
|
||||
{
|
||||
/**
|
||||
* Method handler called when the next button of the wizard is pressed
|
||||
*
|
||||
* @return The outcome to return
|
||||
*/
|
||||
// public String next();
|
||||
|
||||
/**
|
||||
* Method handler called when the back button of the wizard is pressed
|
||||
*
|
||||
* @return The outcome to return
|
||||
*/
|
||||
// public String back();
|
||||
|
||||
/**
|
||||
* Determines whether the next button on the wizard should be disabled
|
||||
*
|
||||
* @return true if the button should be disabled
|
||||
*/
|
||||
public boolean getNextButtonDisabled();
|
||||
|
||||
/**
|
||||
* Determines whether the back button on the wizard should be disabled
|
||||
*
|
||||
* @return true if the button should be disabled
|
||||
*/
|
||||
public boolean getBackButtonDisabled();
|
||||
|
||||
/**
|
||||
* 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();
|
||||
}
|
Reference in New Issue
Block a user