Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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