Package org.graffiti.event
Interface TransactionListener
- All Superinterfaces:
EventListener
- All Known Subinterfaces:
AttributeListener
,EdgeListener
,GraphListener
,GraphView
,NodeListener
,ValueEditComponent
,View
,View2D
,View3D
- All Known Implementing Classes:
AbstractAttributeListener
,AbstractDialogableEditComponent
,AbstractEdgeListener
,AbstractGraphListener
,AbstractNodeListener
,AbstractTab
,AbstractValueEditComponent
,AbstractView
,ArrowShapeEditComponent
,AttributeAdapter
,BooleanEditComponent
,ButtonOverlayView
,ByteEditComponent
,ChartAttributeEditor
,ChartColorAttributeEditor
,ChartsColumnAttributeEditor
,ClusterColorAttributeEditor
,ColorChooserEditComponent
,ComboBoxEditComponent
,CompoundImageAttributeEditor
,CompoundImagePositionAttributeEditor
,DockingAttributeEditor
,DoubleEditComponent
,EdgeAdapter
,EdgeArrowShapeEditComponent
,EdgeEditComponent
,EdgeShapeEditComponent
,EdgeTab
,EnhDoubleEditComponent
,FastView
,FloatEditComponent
,FontAttributeEditor
,GradientFillAttributeEditor
,GraffitiView
,GraphAdapter
,GraphComponentEditComponent
,GraphConstraintChecker
,GraphTab
,IntegerEditComponent
,IPKGraffitiView
,JComponentParameterEditor
,KeggGroupPartAttributeEditor
,KeggReactionIdAttributeEditor
,KeggReactionTypeAttributeEditor
,KeggRelationSubTypeAttributeEditor
,KeggRelationTypeAttributeEditor
,KeggTypeAttributeEditor
,KineticLawHelper
,LabelAlignmentAttributeEditor
,LabelFontAttributeEditor
,LabelStyleAttributeEditor
,LandmarkSliderComponent
,LineModeAttributeEditor
,LineModeEditComponent
,LongEditComponent
,MatrixModel
,MatrixView
,MultiFileSelectionEditComponent
,NavigationComponentView
,NodeAdapter
,NodeEditComponent
,NodePathwayLinkVisualizationAttributeEditor
,NodeShapeEditComponent
,NodeTab
,NullView
,NumberEditComponent
,ObjectListComponent
,ShortEditComponent
,SingleGraphElementEditComponent
,SliderComponent
,SpinnerEditComponent
,StandardValueEditComponent
,StatusBar
,StringEditComponent
,TextAreaEditComponent
,ThicknessAttributeEditor
,TransactionAdapter
,URLAttributeEditor
,ValueEditComponentAdapter
,XMLAttributeEditor
public interface TransactionListener extends EventListener
Interface, that contains methods which are called when transactions are
started or finished.
- Version:
- $Revision: 1.6 $
-
Method Summary
Modifier and Type Method Description void
transactionFinished(TransactionEvent e, BackgroundTaskStatusProviderSupportingExternalCall status)
Called when a transaction has stopped.void
transactionStarted(TransactionEvent e)
Called when a transaction has started.
-
Method Details
-
transactionFinished
void transactionFinished(TransactionEvent e, BackgroundTaskStatusProviderSupportingExternalCall status)Called when a transaction has stopped.
The classTransactionHashMap
merges duplicateAttributeEvent
s. In case the Attribute path for the sameAttributable
is not equal, detailed information about Attribute path is lost. Instead a genericAttributeEvent
containing just theAttributable
is in the list of changed Objects (seeTransactionEvent
).
In case no detailed information about an Attribute change is available, your code should completely re-process the affectedAttributable
.- Parameters:
e
- the EdgeEvent detailing the changes.
-
transactionStarted
Called when a transaction has started.- Parameters:
e
- the EdgeEvent detailing the changes.
-