Package com.intellij.javascript.debugger.execution

Examples of com.intellij.javascript.debugger.execution.JavaScriptDebugConfiguration


  private static void convertLocal(Element element) {
    element.setAttribute("type", JavascriptDebugConfigurationType.getTypeInstance().getId());
    element.setAttribute("singleton", "true");
    element.removeAttribute("factoryName");
    JavaScriptDebugConfiguration settings = new JavaScriptDebugConfiguration(null, JavascriptDebugConfigurationType.getTypeInstance().getFactory(), "");
    for (Object obj : element.getChildren("option")) {
      if ("fileUrl".equals(((Element)obj).getAttributeValue("name"))) {
        settings.setUri(((Element)obj).getAttributeValue("value"));
      }
    }
    element.removeContent();
    JavaScriptDebugConfiguration.serialize(settings, element);
  }
View Full Code Here


  private static void convertRemote(Element element) {
    element.setAttribute("type", JavascriptDebugConfigurationType.getTypeInstance().getId());
    element.setAttribute("singleton", "true");
    element.removeAttribute("factoryName");
    JavaScriptDebugConfiguration settings = new JavaScriptDebugConfiguration(null, JavascriptDebugConfigurationType.getTypeInstance().getFactory(), "");
    Element mappings = null;
    for (Object obj : element.getChildren("option")) {
      if ("fileUrl".equals(((Element)obj).getAttributeValue("name"))) {
        settings.setUri(((Element)obj).getAttributeValue("value"));
      }
      else if ("mappings".equals(((Element)obj).getAttributeValue("name"))) {
        mappings = (Element)obj;
      }
    }
View Full Code Here

TOP

Related Classes of com.intellij.javascript.debugger.execution.JavaScriptDebugConfiguration

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.