Package ptolemy.kernel.util
Interface ChangeListener
-
- All Known Implementing Classes:
AbstractBasicGraphModel
,ActorGraphFrame
,ActorGraphModel
,ActorGraphModel.LinkModel.LinkChangeListener
,BaseMultipleMethodsActor
,BasicGraphFrame
,BreakpointConfigurer
,Case
,CaseGraphFrame
,ChangeRequestTest
,ConfigurationEffigy
,ConvertToLazy
,DocBuilderEffigy
,EditIconFrame
,EditParametersDialog
,EntityTreeModel.TreeUpdateListener
,ExtendedGraphFrame
,FactorOracleTop
,FmvAutomatonGraphFrame
,FSMGraphFrame
,FSMGraphModel
,GeneratorAttribute
,GeneratorTableauAttribute
,GTFrame
,GTFrameController.GTActorGraphModel
,GTFrameController.GTFSMGraphModel
,InterfaceAutomatonGraphFrame
,MatchResultViewer
,MetroIIModalModel
,ModalModel
,ModalRefinement
,ModelDisplay
,MoMLCommandLineApplication
,MoMLParser
,MoMLSimpleApplication
,MoMLSimpleApplication
,MoMLSimpleStatisticalApplication
,MoMLSimpleTimeoutApplication
,MoMLUndoEntry
,OntologyGraphFrame
,OntologyGraphModel
,OntologySolverGraphFrame
,OntologySolverGraphModel
,OpenInstanceDialog
,OracleModel
,PlotEffigy
,PortConfigurerDialog
,PteraGraphFrame
,PteraModalModel
,PtolemyEffigy
,PtolemyQuery
,RenameConfigurer
,Rerun
,SCRModel
,SequencedIntegrator
,SequencedSharedMemoryActor
,SequencedVariable
,SetVariable
,StreamChangeListener
,TDLModule
,TransformationEditor
,UnitConstraintsDialog
,UnloadModelTest
public interface ChangeListener
A ChangeListener is an interface implemented by objects that are interested in being kept informed about changes in a model as they are executed. These listeners are informed when each change is successfully executed, or when an attempt to execute it results in an exception.- Since:
- Ptolemy II 1.0
- Version:
- $Id$
- Author:
- Edward A. Lee
- See Also:
ChangeRequest
- Pt.AcceptedRating:
- Green (neuendor)
- Pt.ProposedRating:
- Green (eal)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeExecuted(ChangeRequest change)
React to a change request has been successfully executed.void
changeFailed(ChangeRequest change, java.lang.Exception exception)
React to a change request has resulted in an exception.
-
-
-
Method Detail
-
changeExecuted
void changeExecuted(ChangeRequest change)
React to a change request has been successfully executed. This method is called after a change request has been executed successfully.- Parameters:
change
- The change that has been executed, or null if the change was not done via a ChangeRequest.
-
changeFailed
void changeFailed(ChangeRequest change, java.lang.Exception exception)
React to a change request has resulted in an exception. This method is called after a change request was executed, but during the execution an exception was thrown.- Parameters:
change
- The change that was attempted or null if the change was not done via a ChangeRequest.exception
- The exception that resulted.
-
-