com.ebmwebsourcing.webdesigner.presentation.gwt.client.log
Class Log
java.lang.Object
com.ebmwebsourcing.webdesigner.presentation.gwt.client.log.Log
public class Log
- extends java.lang.Object
FIFO based log.
TODO: Work on memory leaks !!
- Author:
- gcrosmarie, nfleury
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log
public Log(DrawingPanel panel)
addEntry
public void addEntry(AbstractLogEntry entry)
undo
public void undo()
throws ImpossibleOperationException
- Throws:
ImpossibleOperationException
redo
public void redo()
throws ImpossibleOperationException
- Throws:
ImpossibleOperationException
undo
public void undo(int times)
throws ImpossibleOperationException
- Throws:
ImpossibleOperationException
redo
public void redo(int times)
throws ImpossibleOperationException
- Throws:
ImpossibleOperationException
getDisplayStrings
public java.lang.String[] getDisplayStrings(int numberOfLogs)
getDisplayStrings
public java.lang.String[] getDisplayStrings()
clear
public void clear()
getEntries
public TimeSortedList getEntries()
getDrawingPanel
public DrawingPanel getDrawingPanel()
setDrawingPanel
public void setDrawingPanel(DrawingPanel drawingPanel)
hasMoreUndo
public boolean hasMoreUndo()
hasMoreRedo
public boolean hasMoreRedo()
addListener
public void addListener(LogListener listener)
getListeners
public java.util.ArrayList<LogListener> getListeners()
Copyright © 2010 eBM WebSourcing. All Rights Reserved.