Protege 2.1

edu.stanford.smi.protege.model
Interface CommandManager

All Known Implementing Classes:
UndoFrameStore

public interface CommandManager


Method Summary
 void addChangeListener(ChangeListener listener)
           
 boolean canRedo()
           
 boolean canUndo()
           
 Collection getDoneCommands()
           
 Command getRedoCommand()
           
 Command getUndoCommand()
           
 Collection getUndoneCommands()
           
 void redo()
           
 void removeChangeListener(ChangeListener listener)
           
 void undo()
           
 

Method Detail

addChangeListener

public void addChangeListener(ChangeListener listener)

removeChangeListener

public void removeChangeListener(ChangeListener listener)

getDoneCommands

public Collection getDoneCommands()

getUndoneCommands

public Collection getUndoneCommands()

getUndoCommand

public Command getUndoCommand()

getRedoCommand

public Command getRedoCommand()

undo

public void undo()

redo

public void redo()

canUndo

public boolean canUndo()

canRedo

public boolean canRedo()

Protege 2.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.