FreeHEP API
Version current

org.freehep.swing.undo
Interface UndoableEditProcessor


public interface UndoableEditProcessor

Allows for the (compound) processing of UndoableEdits. One can use UndoableEditSupport to implement this.

Version:
$Id: UndoableEditProcessor.java,v 1.2 2004/04/08 20:13:04 duns Exp $
Author:
Mark Donszelmann
Source Code:
UndoableEditProcessor.java

Method Summary
 void beginUpdate()
          Starts a new CompoundEdit and adds subsequent edits to it.
 void endUpdate()
          Ends the CompoundEdit
 void postEdit(UndoableEdit edit)
          Post (execute) the edit.
 boolean supports(UndoableEdit edit)
          Return true if this interface supports this edit
 

Method Detail

beginUpdate

public void beginUpdate()
Starts a new CompoundEdit and adds subsequent edits to it.


endUpdate

public void endUpdate()
Ends the CompoundEdit


postEdit

public void postEdit(UndoableEdit edit)
Post (execute) the edit.


supports

public boolean supports(UndoableEdit edit)
Return true if this interface supports this edit


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.