Class CmsUndoRedoHandler.ChangeTimer

java.lang.Object
com.google.gwt.user.client.Timer
org.opencms.acacia.client.CmsUndoRedoHandler.ChangeTimer
Enclosing class:
CmsUndoRedoHandler

protected class CmsUndoRedoHandler.ChangeTimer extends com.google.gwt.user.client.Timer
A timer to delay the addition of a change.

  • Constructor Details

    • ChangeTimer

      protected ChangeTimer(String valuePath, String attributeName, int valueIndex, CmsUndoRedoHandler.ChangeType changeType)
      Constructor.

      Parameters:
      valuePath - the entity value path
      attributeName - the attribute name
      valueIndex - the value index
      changeType - the change type
  • Method Details

    • run

      public void run()
      Specified by:
      run in class com.google.gwt.user.client.Timer
      See Also:
      • Timer.run()
    • matches

      protected boolean matches(String valuePath, String attributeName, int valueIndex)
      Checks whether the timer change properties match the given ones.

      Parameters:
      valuePath - the entity value path
      attributeName - the attribute name
      valueIndex - the value index
      Returns:
      true if the timer change properties match the given ones