~yrke/tapaal/GuiFrame-refactor-appView

« back to all changes in this revision

Viewing changes to src/pipe/gui/graphicElements/Arc.java

MergedĀ lp:~yrke/tapaal/removedUnusedcode-arcpathsplit

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
import pipe.gui.Pipe;
14
14
import pipe.gui.Zoomer;
15
15
import pipe.gui.handler.LabelHandler;
16
 
import pipe.gui.undo.AddArcPathPointEdit;
17
 
import dk.aau.cs.gui.undo.Command;
18
16
import dk.aau.cs.model.tapn.Weight;
19
17
 
20
18
/**
375
373
                myPath.setTransitionAngle(angle);
376
374
        }
377
375
 
378
 
        public Command split(Point2D.Float mouseposition) {
379
 
                ArcPathPoint newPoint = myPath.splitSegment(mouseposition);
380
 
                return new AddArcPathPointEdit(this, newPoint);
381
 
        }
382
 
 
383
376
        public Transition getTransition() {
384
377
                if (getTarget() instanceof Transition) {
385
378
                        return (Transition) getTarget();