Class CmsAliasEditor
- java.lang.Object
-
- org.opencms.ade.sitemap.client.alias.CmsAliasEditor
-
public class CmsAliasEditor extends java.lang.Object
The alias editor.
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_UPDATE_INTERVAL
The interval used for upating the editing status on the server.
-
Constructor Summary
Constructors Constructor Description CmsAliasEditor()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFinished()
Checks whether the alias editor is finished.protected void
setFinished(boolean finished)
Sets the 'finished' flag.void
show()
Opens the alias editor.protected void
updateAliasEditorStatus(boolean editing)
Asynchronously updates the alias editor status.
-
-
-
Field Detail
-
STATUS_UPDATE_INTERVAL
public static final int STATUS_UPDATE_INTERVAL
The interval used for upating the editing status on the server.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsAliasEditor
public CmsAliasEditor()
Creates a new instance.
-
-
Method Detail
-
isFinished
public boolean isFinished()
Checks whether the alias editor is finished.- Returns:
- true if the alias editor is finished
-
show
public void show()
Opens the alias editor.In addition to displaying the alias editor, this also sets up a timer which regularly informs the server that the alias table for the current site is being edited by the current user. This timer is deactivated when the dialog is closed.
-
setFinished
protected void setFinished(boolean finished)
Sets the 'finished' flag.- Parameters:
finished
- the new value of the 'finished' flag
-
updateAliasEditorStatus
protected void updateAliasEditorStatus(boolean editing)
Asynchronously updates the alias editor status.- Parameters:
editing
- the status we want to set
-
-