~tapaal-contributor/tapaal/tikz-export-label-placement-1820528

« back to all changes in this revision

Viewing changes to src/pipe/gui/graphicElements/tapn/TimedOutputArcComponent.java

Merged bzr merge lp:~yrke/tapaal/placetransitionobjecthandler-refactor-cleanup cleanup 
after refactorings, removeing code and further refactorings

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
                this.outputArc = outputArc;
221
221
        }
222
222
 
223
 
        public TimedOutputArcComponent copy(TimedArcPetriNet tapn, DataLayer guiModel, Hashtable<PlaceTransitionObject, PlaceTransitionObject> oldToNewMapping) {
 
223
        public TimedOutputArcComponent copy(TimedArcPetriNet tapn, Hashtable<PlaceTransitionObject, PlaceTransitionObject> oldToNewMapping) {
224
224
                TimedOutputArcComponent newCopyArc = new TimedOutputArcComponent(this);
225
225
                newCopyArc.setSource(oldToNewMapping.get(this.getSource()));
226
226
                newCopyArc.setTarget(oldToNewMapping.get(this.getTarget()));
229
229
                newCopyArc.getSource().addConnectFrom(newCopyArc);
230
230
                newCopyArc.getTarget().addConnectTo(newCopyArc);
231
231
                
232
 
                newCopyArc.setGuiModel(guiModel);
233
 
                
234
232
                return newCopyArc;
235
233
        }
236
234