|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--javax.swing.DefaultListModel
|
+--org.fopps.ui.log.LogListModel
|
+--org.fopps.ui.log.CompileLogModel
CompileLogModel listenes to compilation events and adds messages to the list
| Nested Class Summary |
| Nested classes inherited from class org.fopps.ui.log.LogListModel |
LogListModel.MessageEntry |
| Field Summary |
| Fields inherited from class org.fopps.ui.log.LogListModel |
ERROR, INFORMATION, WARNING |
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| Constructor Summary | |
CompileLogModel()
|
|
| Method Summary | |
void |
compilationError(CompilationEvent pEvent,
java.lang.Throwable pException)
Called if an error occurred during compilation |
void |
compilationFinished(CompilationEvent pEvent)
Called if compilation finished |
void |
compilationStarted(CompilationEvent pEvent)
Called if compilation started |
void |
fileCopied(CompilationEvent pEvent,
java.lang.String pSource,
java.lang.String pDest)
Called if a file was copied to the target directory |
void |
fileGenerated(CompilationEvent pEvent,
java.lang.String pDest)
Called if a file was generated |
void |
fileSkipped(CompilationEvent pEvent,
java.lang.String pSource)
Called if a file was skipped (e. g. file not found) |
| Methods inherited from class org.fopps.ui.log.LogListModel |
addErrorMessage, addInfoMessage, addWarningMessage, clearMessages, getElementAt, getErrors, getSize, getWarnings |
| Methods inherited from class javax.swing.DefaultListModel |
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize |
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CompileLogModel()
| Method Detail |
public void fileCopied(CompilationEvent pEvent,
java.lang.String pSource,
java.lang.String pDest)
fileCopied in interface CompilationListenerpEvent - The compilation eventpSource - Name of the source filepDest - Name of the destination file
public void fileGenerated(CompilationEvent pEvent,
java.lang.String pDest)
fileGenerated in interface CompilationListenerpEvent - The compilation eventpDest - Name of the destination file
public void fileSkipped(CompilationEvent pEvent,
java.lang.String pSource)
fileSkipped in interface CompilationListenerpEvent - The compilation eventpSource - Name of the source filepublic void compilationStarted(CompilationEvent pEvent)
compilationStarted in interface CompilationListenerpEvent - The compilation eventpublic void compilationFinished(CompilationEvent pEvent)
compilationFinished in interface CompilationListenerpEvent - The compilation event
public void compilationError(CompilationEvent pEvent,
java.lang.Throwable pException)
compilationError in interface CompilationListenerpEvent - The compilation eventpException - The raised exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||