~cpn-gui/tapaal/bug-fixing3

« back to all changes in this revision

Viewing changes to src/pipe/gui/handler/PlaceTransitionObjectHandler.java

  • Committer: Mark Glavind
  • Date: 2019-04-23 13:31:22 UTC
  • Revision ID: mglavi14@student.aau.dk-20190423133122-epuu8p6985txjagx
Finished adding different expression for output arc of transport arcs, made new file for arc expression panel. Missing new load and save for changes to transport arc

Show diffs side-by-side

added added

removed removed

Lines of Context:
398
398
                                                        vecColorExpr.add(userOperatorExpression);
399
399
                                                        NumberOfExpression numbExpr = new NumberOfExpression(1, vecColorExpr);
400
400
                                                        ColoredTransportArc transportArc = (ColoredTransportArc) ((ColoredTransportArcComponent) arc2).underlyingTransportArc();
401
 
                                                        transportArc.setExpression(numbExpr);
 
401
                                                        transportArc.setInputExpression(numbExpr);
 
402
                                                        transportArc.setOutputExpression(numbExpr);
402
403
                                                }
403
404
 
404
405
                                                // Evil hack to prevent the arc being added to GuiView