Package se.sics.mspsim.ui

Examples of se.sics.mspsim.ui.ControlUI


    setup(config);


    if (!config.getPropertyAsBoolean("nogui", false)) {
      // Setup control and other UI components
      ControlUI control = new ControlUI();
      registry.registerComponent("controlgui", control);
      registry.registerComponent("stackchart", new StackUI(cpu));
      HighlightSourceViewer sourceViewer = new HighlightSourceViewer();
      // Add the firmware location to the search path
      File fp = new File(firmwareFile).getParentFile();
      if (fp != null) {
          try {
              // Get absolute path
              fp = fp.getCanonicalFile();
          } catch (Exception e) {
              // Ignore
          }
          sourceViewer.addSearchPath(fp);
      }
      control.setSourceViewer(sourceViewer);
    }

    String script = config.getProperty("autorun");
    if (script != null) {
      File fp = new File(script);
View Full Code Here

TOP

Related Classes of se.sics.mspsim.ui.ControlUI

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.