public void save() { try { getWorkingCopy().doSave(); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); } }
public int getConnectionPort() { try { return launchConfig.getAttribute(CONNECTION_PORT, 9222); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return 9222; } }
public String getConnectionHost() { try { return launchConfig.getAttribute(CONNECTION_HOST, "localhost"); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return ""; } }
/** @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 ""; } }
public boolean isLaunchTabWithUrl() { try { return launchConfig.getAttribute(LAUNCH_TAB_WITH_URL, false); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return false; } }
/** @return the cwd for command-line launches */ public String getWorkingDirectory() { try { return launchConfig.getAttribute(WORKING_DIRECTORY, ""); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return ""; } }
/** @return the arguments string for the Dart VM */ public String getVmArguments() { try { return launchConfig.getAttribute(VM_ARGUMENTS, ""); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return ""; } }
/** @return the url query parameters, if any */ public String getUrlQueryParams() { try { return launchConfig.getAttribute(URL_QUERY_PARAMS, ""); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return ""; } }
public String getUrl() { try { return launchConfig.getAttribute(URL, ""); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return ""; } }
public boolean getShowLaunchOutput() { try { return launchConfig.getAttribute(SHOW_LAUNCH_OUTPUT, false); } catch (CoreException e) { SDBGDebugCorePlugin.logError(e); return false; } }
/** @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 ""; } }