org.xwiki.gwt.wysiwyg.client.plugin.history
Interface History


public interface History

Interface for undoing and redoing user's edit actions.

Version:
$Id$

Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 void redo()
          Loads the next newer version of the edited content.
 void undo()
          Loads the next older version of the edited content.
 

Method Detail

canRedo

boolean canRedo()
Returns:
false if the current version of the edited content is the latest one.

canUndo

boolean canUndo()
Returns:
false if the current version is the first one or if it is the oldest one stored in the history.

redo

void redo()
Loads the next newer version of the edited content.


undo

void undo()
Loads the next older version of the edited content.



Copyright © 2004-2012 XWiki. All Rights Reserved.