30
26
public TimedTransportArcComponent(PlaceTransitionObject newSource, int groupNr, boolean isInPreSet) {
31
27
super(new TimedOutputArcComponent(newSource));
32
28
this.isInPreSet = isInPreSet;
35
31
// hack to reprint the label of the arc
43
36
public TimedTransportArcComponent(TimedInputArcComponent timedArc, int group, boolean isInPreSet) {
45
38
this.isInPreSet = isInPreSet;
48
41
// hack to reprint the label of the arc
56
47
//XXX: kyrke 2018-09-06, this is bad as we leak "this", think its ok for now, as it alwas constructed when
57
48
//XXX: handler is called. Make static constructor and add handler from there, to make it safe.
58
49
mouseHandler = new TransportArcHandler(this);