net.sf.doolin.gui.edit
Interface GUIEdit

All Known Implementing Classes:
AbstractGUIEdit

public interface GUIEdit

Definition of a task that can be done and undone.

Author:
Damien Coraboeuf

Method Summary
 boolean canRedo()
          Can this task be done again
 boolean canUndo()
          Can this task be undone
 String getDisplayName()
          Gets a display name for this task
 void perform()
          Performs this task
 void redo()
          Redoes this task
 void undo()
          Undoes this task
 

Method Detail

undo

void undo()
Undoes this task


redo

void redo()
Redoes this task


perform

void perform()
Performs this task


canUndo

boolean canUndo()
Can this task be undone

Returns:
true if this task can be undone

canRedo

boolean canRedo()
Can this task be done again

Returns:
true if this task can be done again

getDisplayName

String getDisplayName()
Gets a display name for this task

Returns:
Display name


Copyright © 2011. All Rights Reserved.