Package org.opencms.gwt.client.ui
Class CmsResourceInfoConfirmDialog
- java.lang.Object
-
- org.opencms.gwt.client.ui.CmsResourceInfoConfirmDialog
-
public class CmsResourceInfoConfirmDialog extends java.lang.Object
Confirm dialog with a resource info box.
-
-
Constructor Summary
Constructors Constructor Description CmsResourceInfoConfirmDialog(org.opencms.gwt.shared.CmsResourceStatusBean resourceStatus)
Creates a new dialog instance for the given resource info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display()
Displays the dialog.java.lang.String
getCancelText()
Gets the cancel button text.java.lang.String
getCaption()
Gets the dialog title.java.lang.String
getOkText()
Gets the OK button text.java.lang.String
getText()
Gets the dialog text.void
onConfirm()
Method to execute when the user confirms the action.
-
-
-
Constructor Detail
-
CmsResourceInfoConfirmDialog
public CmsResourceInfoConfirmDialog(org.opencms.gwt.shared.CmsResourceStatusBean resourceStatus)
Creates a new dialog instance for the given resource info.- Parameters:
resourceStatus
- the resource information
-
-
Method Detail
-
display
public void display()
Displays the dialog.
-
getCancelText
public java.lang.String getCancelText()
Gets the cancel button text.- Returns:
- the cancel button text
-
getCaption
public java.lang.String getCaption()
Gets the dialog title.- Returns:
- the dialog title
-
getOkText
public java.lang.String getOkText()
Gets the OK button text.- Returns:
- the OK button text
-
getText
public java.lang.String getText()
Gets the dialog text.- Returns:
- the dialog text
-
onConfirm
public void onConfirm()
Method to execute when the user confirms the action.
-
-