lp:~yrke/tapaal/cleanup-PlacetransitionObjectHandlers-mouseEvents

Created by Kenneth Yrke Jørgensen on 2019-06-15 and last modified on 2019-06-23

changes:

 - refactoring placetransitionsobjecthandlers to factor out draw arc code
 - Removed call to updateLabel(true) on new arcs, does not seem to be needed, if any problems whith new arcs labels not showing or not updatling, this might be related.
 - Moved checks for "double" arcs between place/transition from the draw code to the model code
 - Removed calles for updateConnected() for inhub arcs and output arcs, semmes to be unneded, bugs migth be with arc connecting to transition not corrlty update location or angle connected to the transition.

Tests:
 - test drawing of all arc types, in from different types of places/transitions and zoome levels
 - test that using the model code, there is no unintended sideeffects of the check is now in the model (eg when drawing, exporting or importing the models)

Get this branch:
bzr branch lp:~yrke/tapaal/cleanup-PlacetransitionObjectHandlers-mouseEvents
Only Kenneth Yrke Jørgensen can upload to this branch. If you are Kenneth Yrke Jørgensen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Kenneth Yrke Jørgensen
Project:
TAPAAL
Status:
Mature

Recent revisions

1036. By Kenneth Yrke Jørgensen on 2019-06-20

Removed call to updated connected

1035. By Kenneth Yrke Jørgensen on 2019-06-19

Moved check for dual arcs between place/transition for timedarcs from the draw code to the model code

1034. By Kenneth Yrke Jørgensen on 2019-06-19

For timed arc moved the common task of finishing draw to shared code

1033. By Kenneth Yrke Jørgensen on 2019-06-19

Removed code to reset transportarc group number (already set)

1032. By Kenneth Yrke Jørgensen on 2019-06-19

Removed call to updateLabel(true) on new arcs, not needed

1031. By Kenneth Yrke Jørgensen on 2019-06-19

Moved removeing create arc from view (temp) and adding it back corretly to view and model a function

1030. By Kenneth Yrke Jørgensen on 2019-06-19

Moved setSelectable to sealArc function

1029. By Kenneth Yrke Jørgensen on 2019-06-16

Removed unneded reset of createArc, will be cleanup later

1028. By Kenneth Yrke Jørgensen on 2019-06-16

Renamed freeArc to better explain behaviour

1027. By Kenneth Yrke Jørgensen on 2019-06-16

Moved updateLabel from try/catch to finishing actions

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:tapaal
This branch contains Public information 
Everyone can see this information.