|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.instrument.Instrument
net.sf.latexdraw.instruments.ExceptionsManager
public class ExceptionsManager
This instrument allows to see exceptions launched during the execution of the program.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
01/05/11
Field Summary | |
---|---|
protected MButton |
exceptionB
The button used to shows the panel of exceptions. |
protected BadaboomManager |
frame
The frame to show when exceptions occur. |
Fields inherited from class org.malai.instrument.Instrument |
---|
activated, eventables, links, modified |
Constructor Summary | |
---|---|
ExceptionsManager()
Creates the instrument. |
Method Summary | |
---|---|
MButton |
getExceptionB()
|
protected void |
initialiseLinks()
Initialises the links of the instrument. |
void |
notifyEvent(java.lang.Throwable ex)
Actions to do when an exception is received by the manager. |
void |
notifyEvents()
Actions to do when exceptions are received by the manager. |
void |
setActivated(boolean activated)
Activates or deactivates the instrument. |
Methods inherited from class org.malai.instrument.Instrument |
---|
addEventable, addLink, clearEvents, getLinks, getSizeLinks, hasLinks, interimFeedback, isActivated, isModified, load, onActionAborted, onActionAdded, onActionCancelled, onActionDone, onActionExecuted, onUndoableAdded, onUndoableRedo, onUndoableUndo, reinit, removeLink, save, setModified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MButton exceptionB
protected BadaboomManager frame
Constructor Detail |
---|
public ExceptionsManager()
Method Detail |
---|
protected void initialiseLinks()
Instrument
initialiseLinks
in class Instrument
public void notifyEvent(java.lang.Throwable ex)
BadaboomHandler
notifyEvent
in interface BadaboomHandler
ex
- The received exception.public void setActivated(boolean activated)
Instrument
setActivated
in class Instrument
activated
- True = activation.public MButton getExceptionB()
public void notifyEvents()
BadaboomHandler
notifyEvents
in interface BadaboomHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |