~tapaal-contributor/tapaal/weight-values-fix-1770637

« back to all changes in this revision

Viewing changes to src/dk/aau/cs/verification/TAPNComposer.java

merged in branch lp:~tapaal-contributor/tapaal/Batch-export-PNML-XML-queries-1754675
adding batch export of files to PNML and XML

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
import java.util.Map.Entry;
6
6
 
7
7
import pipe.dataLayer.DataLayer;
 
8
import pipe.gui.ExportBatchDialog;
8
9
import pipe.gui.graphicElements.Arc;
9
10
import pipe.gui.graphicElements.ArcPath;
10
11
import pipe.gui.graphicElements.ArcPathPoint;
18
19
import pipe.gui.graphicElements.tapn.TimedTransitionComponent;
19
20
import pipe.gui.graphicElements.tapn.TimedTransportArcComponent;
20
21
import dk.aau.cs.Messenger;
 
22
import dk.aau.cs.gui.components.ExportBatchResultTableModel;
21
23
import dk.aau.cs.model.tapn.Bound;
22
24
import dk.aau.cs.model.tapn.IntBound;
23
25
import dk.aau.cs.model.tapn.LocalTimedPlace;
314
316
                                                        mapping.addMapping(tapn.name(), timedTransition.name(), uniqueTransitionName);
315
317
                                                }
316
318
                                        }else{
317
 
                                                if(!hasShownMessage){
 
319
                                                if(!hasShownMessage && !(ExportBatchDialog.isDialogVisible())){
318
320
                                                        messenger.displayInfoMessage("There are orphan transitions (no incoming and no outgoing arcs) in the model."
319
321
                                                                        + System.getProperty("line.separator") + "They will be removed before the verification.");
320
322
                                                        hasShownMessage = true;
321
323
                                                }
 
324
                                                else if(ExportBatchDialog.isDialogVisible()) {
 
325
                                                        ExportBatchDialog.setNoOrphanTransitions(true);
 
326
                                                }
322
327
                                        }
323
328
                                }
324
329
                        }