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 voidtransactionFinished(TransactionEvent e, BackgroundTaskStatusProviderSupportingExternalCall status)Called when a transaction has stopped.voidtransactionStarted(TransactionEvent e)Called when a transaction has started.
-
Method Details
-
transactionFinished
void transactionFinished(TransactionEvent e, BackgroundTaskStatusProviderSupportingExternalCall status)Called when a transaction has stopped.
The classTransactionHashMapmerges duplicateAttributeEvents. In case the Attribute path for the sameAttributableis not equal, detailed information about Attribute path is lost. Instead a genericAttributeEventcontaining just theAttributableis 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.
-