342
341
if(delayGranularity.compareTo(new BigDecimal("0.00001")) < 0){
343
342
JOptionPane.showMessageDialog(CreateGui.getApp(), "<html>Due to the limit of only five decimal points in the simulator</br> its not possible to fire the transition</html>");
345
BigDecimal delay = CreateGui.getCurrentTab().getBlueTransitionControl().getDelayMode().GetDelay(transition, dInterval, delayGranularity);
344
BigDecimal delay = CreateGui.getCurrentTab().getDelayEnabledTransitionControl().getDelayMode().GetDelay(transition, dInterval, delayGranularity);
347
346
if(delay.compareTo(BigDecimal.ZERO) != 0){ //Don't delay if the chosen delay is 0