org.opencms.workplace
Class CmsDialogSelector

java.lang.Object
  extended by org.opencms.workplace.CmsDialogSelector

public class CmsDialogSelector
extends java.lang.Object

Selects the dialog which should be displayed by OpenCms depending on the configuration value.

You can define the class of your dialog handler in the OpenCms XML configuration files. The following files use this class:

Since:
6.0.0
Version:
$Revision: 1.26 $
Author:
Andreas Zahner
See Also:
I_CmsDialogHandler

Field Summary
static java.lang.String DIALOG_DELETE
          Constant for the delete dialog handler key name.
static java.lang.String DIALOG_LOCK
          Constant for the lock dialog handler key name.
static java.lang.String DIALOG_PROPERTY
          Constant for the property dialog handler key name.
 
Constructor Summary
CmsDialogSelector(CmsJspActionElement jsp, java.lang.String handler)
          Public constructor with JSP action element.
 
Method Summary
 java.lang.String getSelectedDialogUri()
          Returns the uri of the dialog which will be displayed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIALOG_DELETE

public static final java.lang.String DIALOG_DELETE
Constant for the delete dialog handler key name.

See Also:
Constant Field Values

DIALOG_LOCK

public static final java.lang.String DIALOG_LOCK
Constant for the lock dialog handler key name.

See Also:
Constant Field Values

DIALOG_PROPERTY

public static final java.lang.String DIALOG_PROPERTY
Constant for the property dialog handler key name.

See Also:
Constant Field Values
Constructor Detail

CmsDialogSelector

public CmsDialogSelector(CmsJspActionElement jsp,
                         java.lang.String handler)
Public constructor with JSP action element.

Parameters:
jsp - an initialized JSP action element
handler - the key name of the dialog handler (use the constants in your classes!)
Method Detail

getSelectedDialogUri

public java.lang.String getSelectedDialogUri()
Returns the uri of the dialog which will be displayed.

Returns:
the uri of the property dialog