Package org.opencms.acacia.client
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 Summary
Constructors Modifier Constructor Description protected
ChangeTimer(java.lang.String valuePath, java.lang.String attributeName, int valueIndex, CmsUndoRedoHandler.ChangeType changeType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
matches(java.lang.String valuePath, java.lang.String attributeName, int valueIndex)
Checks whether the timer change properties match the given ones.void
run()
-
-
-
Constructor Detail
-
ChangeTimer
protected ChangeTimer(java.lang.String valuePath, java.lang.String attributeName, int valueIndex, CmsUndoRedoHandler.ChangeType changeType)
Constructor.- Parameters:
valuePath
- the entity value pathattributeName
- the attribute namevalueIndex
- the value indexchangeType
- the change type
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in classcom.google.gwt.user.client.Timer
- See Also:
Timer.run()
-
matches
protected boolean matches(java.lang.String valuePath, java.lang.String attributeName, int valueIndex)
Checks whether the timer change properties match the given ones.- Parameters:
valuePath
- the entity value pathattributeName
- the attribute namevalueIndex
- the value index- Returns:
true
if the timer change properties match the given ones
-
-