Some files Kev needed from 1.4 branch.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-12 22:29:16 +00:00
parent f20136237d
commit 32484a73e2
6 changed files with 11 additions and 11 deletions

View File

@@ -131,12 +131,12 @@ public abstract class BaseDialogBean implements IDialogBean
return true;
}
public String getTitle()
public String getContainerTitle()
{
return null;
}
public String getDescription()
public String getContainerDescription()
{
return null;
}

View File

@@ -141,7 +141,7 @@ public final class DialogManager
public String getTitle()
{
// try and get the title directly from the dialog
String title = this.currentDialogState.getDialog().getTitle();
String title = this.currentDialogState.getDialog().getContainerTitle();
if (title == null)
{
@@ -170,7 +170,7 @@ public final class DialogManager
public String getDescription()
{
// try and get the description directly from the dialog
String desc = this.currentDialogState.getDialog().getDescription();
String desc = this.currentDialogState.getDialog().getContainerDescription();
if (desc == null)
{

View File

@@ -73,7 +73,7 @@ public interface IDialogBean
*
* @return The title or null if the title is to be acquired via configuration
*/
public String getTitle();
public String getContainerTitle();
/**
* Returns the description to be used for the dialog
@@ -82,5 +82,5 @@ public interface IDialogBean
*
* @return The title or null if the title is to be acquired via configuration
*/
public String getDescription();
public String getContainerDescription();
}

View File

@@ -152,7 +152,7 @@ public final class WizardManager
public String getTitle()
{
// try and get the title directly from the wizard
String title = this.currentWizardState.getWizard().getTitle();
String title = this.currentWizardState.getWizard().getContainerTitle();
if (title == null)
{
@@ -181,7 +181,7 @@ public final class WizardManager
public String getDescription()
{
// try and get the description directly from the dialog
String desc = this.currentWizardState.getWizard().getDescription();
String desc = this.currentWizardState.getWizard().getContainerDescription();
if (desc == null)
{

View File

@@ -218,7 +218,7 @@ public class ManageTaskDialog extends BaseDialogBean
}
@Override
public String getTitle()
public String getContainerTitle()
{
String titleStart = Application.getMessage(FacesContext.getCurrentInstance(), "manage_task_title");
@@ -226,7 +226,7 @@ public class ManageTaskDialog extends BaseDialogBean
}
@Override
public String getDescription()
public String getContainerDescription()
{
return this.task.description;
}

View File

@@ -39,7 +39,7 @@ public class ViewCompletedTaskDialog extends ManageTaskDialog
}
@Override
public String getTitle()
public String getContainerTitle()
{
String titleStart = Application.getMessage(FacesContext.getCurrentInstance(), "view_completed_task_title");