Package org.woped.qualanalysis.reachabilitygraph.controller

Examples of org.woped.qualanalysis.reachabilitygraph.controller.SimulationRunningException


                if (editor.isTokenGameEnabled()) {
                    this.toolbar.setRrefreshButtonEnabled(true);
                    // set the default cursors
                    setCursor(crDefault);
                    toolbar.setCursor(crDefault);
                    throw new SimulationRunningException();
                } else {
                    this.remove(rgp_topPanel);
                    this.add(rgp_topPanel = new JScrollPane(this.rgp_jgraph = this.getDefaultGraph(type)));
                    this.updateVisibility();
                }
View Full Code Here


    }
   
    private void doUnselect(){     
      try {
        if (rgp.getEditor().isTokenGameEnabled())
          throw new SimulationRunningException();
        rgp.getDefaultGraph().deHighlight();     
        // Dehighlight Petrinet and reset VirtualTokens
        ((PetriNetModelProcessor)rgp.getEditor().getModelProcessor()).resetRGHighlightAndVTokens();
        rgp.getEditor().setReadOnly(true);       
        setUnselectButtonEnabled(false);
View Full Code Here

TOP

Related Classes of org.woped.qualanalysis.reachabilitygraph.controller.SimulationRunningException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.