コード例 #1
0
 public void save() {
   try {
     getWorkingCopy().doSave();
   } catch (CoreException e) {
     SDBGDebugCorePlugin.logError(e);
   }
 }
コード例 #2
0
 public int getConnectionPort() {
   try {
     return launchConfig.getAttribute(CONNECTION_PORT, 9222);
   } catch (CoreException e) {
     SDBGDebugCorePlugin.logError(e);
     return 9222;
   }
 }
コード例 #3
0
 public String getConnectionHost() {
   try {
     return launchConfig.getAttribute(CONNECTION_HOST, "localhost");
   } catch (CoreException e) {
     SDBGDebugCorePlugin.logError(e);
     return "";
   }
 }
コード例 #4
0
  /** @return the Dart application file name (e.g. src/HelloWorld.dart) */
  public String getApplicationName() {
    try {
      return launchConfig.getAttribute(APPLICATION_NAME, "");
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return "";
    }
  }
コード例 #5
0
  public boolean isLaunchTabWithUrl() {
    try {
      return launchConfig.getAttribute(LAUNCH_TAB_WITH_URL, false);
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return false;
    }
  }
コード例 #6
0
  /** @return the cwd for command-line launches */
  public String getWorkingDirectory() {
    try {
      return launchConfig.getAttribute(WORKING_DIRECTORY, "");
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return "";
    }
  }
コード例 #7
0
  /** @return the arguments string for the Dart VM */
  public String getVmArguments() {
    try {
      return launchConfig.getAttribute(VM_ARGUMENTS, "");
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return "";
    }
  }
コード例 #8
0
  /** @return the url query parameters, if any */
  public String getUrlQueryParams() {
    try {
      return launchConfig.getAttribute(URL_QUERY_PARAMS, "");
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return "";
    }
  }
コード例 #9
0
  public String getUrl() {
    try {
      return launchConfig.getAttribute(URL, "");
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return "";
    }
  }
コード例 #10
0
  public boolean getShowLaunchOutput() {
    try {
      return launchConfig.getAttribute(SHOW_LAUNCH_OUTPUT, false);
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return false;
    }
  }
コード例 #11
0
  /** @return the name of the DartProject that contains the application to run */
  public String getProjectName() {
    try {
      return launchConfig.getAttribute(PROJECT_NAME, "");
    } catch (CoreException e) {
      SDBGDebugCorePlugin.logError(e);

      return "";
    }
  }