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

Created by Kenneth Yrke Jørgensen and last modified

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:
Merged

Recent revisions

1036. By Kenneth Yrke Jørgensen

Removed call to updated connected

1035. By Kenneth Yrke Jørgensen

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

1034. By Kenneth Yrke Jørgensen

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

1033. By Kenneth Yrke Jørgensen

Removed code to reset transportarc group number (already set)

1032. By Kenneth Yrke Jørgensen

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

1031. By Kenneth Yrke Jørgensen

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

1030. By Kenneth Yrke Jørgensen

Moved setSelectable to sealArc function

1029. By Kenneth Yrke Jørgensen

Removed unneded reset of createArc, will be cleanup later

1028. By Kenneth Yrke Jørgensen

Renamed freeArc to better explain behaviour

1027. By Kenneth Yrke Jørgensen

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.