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:
42
source/java/org/alfresco/web/bean/dialog/IDialogBean.java
Normal file
42
source/java/org/alfresco/web/bean/dialog/IDialogBean.java
Normal file
@@ -0,0 +1,42 @@
|
||||
package org.alfresco.web.bean.dialog;
|
||||
|
||||
/**
|
||||
* Interface that defines the contract for a dialog backing bean
|
||||
*
|
||||
* @author gavinc
|
||||
*/
|
||||
public interface IDialogBean
|
||||
{
|
||||
/**
|
||||
* Initialises the dialog bean
|
||||
*/
|
||||
public void init();
|
||||
|
||||
/**
|
||||
* Method handler called when the finish button of the dialog is pressed
|
||||
*
|
||||
* @return The outcome to return (normally dialog:close)
|
||||
*/
|
||||
public String finish();
|
||||
|
||||
/**
|
||||
* Method handler called when the cancel button of the dialog is pressed
|
||||
*
|
||||
* @return The outcome to return (normally dialog:close)
|
||||
*/
|
||||
public String cancel();
|
||||
|
||||
/**
|
||||
* Returns the label to use for the finish button
|
||||
*
|
||||
* @return The finish button label
|
||||
*/
|
||||
public String getFinishButtonLabel();
|
||||
|
||||
/**
|
||||
* Determines whether the finish button on the dialog should be disabled
|
||||
*
|
||||
* @return true if the button should be disabled
|
||||
*/
|
||||
public boolean getFinishButtonDisabled();
|
||||
}
|
Reference in New Issue
Block a user