Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2009-09-28 15:55:06 +0000
committerMichael Rennie2009-09-28 15:55:06 +0000
commit224b991a93cedd544ca1ff9cec2a30a47729bd55 (patch)
tree82eb46402a7bbb278de329d4dfb94d0186f54afe /org.eclipse.debug.core/buildnotes_platform-debug.html
parent819f593395137640fa5faf8124751f93e40a4f78 (diff)
downloadeclipse.platform.debug-224b991a93cedd544ca1ff9cec2a30a47729bd55.tar.gz
eclipse.platform.debug-224b991a93cedd544ca1ff9cec2a30a47729bd55.tar.xz
eclipse.platform.debug-224b991a93cedd544ca1ff9cec2a30a47729bd55.zip
Bug 267130 - [launching] ILaunchManager.generateUniqueLaunchConfigurationNameFrom -- either reject badly-named prefixes or fix them
Diffstat (limited to 'org.eclipse.debug.core/buildnotes_platform-debug.html')
-rw-r--r--org.eclipse.debug.core/buildnotes_platform-debug.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.eclipse.debug.core/buildnotes_platform-debug.html b/org.eclipse.debug.core/buildnotes_platform-debug.html
index da972002a..d8ecf9b0c 100644
--- a/org.eclipse.debug.core/buildnotes_platform-debug.html
+++ b/org.eclipse.debug.core/buildnotes_platform-debug.html
@@ -11,6 +11,26 @@
<h2>Summary of API changes in 3.6</h2>
+<h3>ILaunchManager and LaunchManager base class</h3>
+<p><strong>What is affected:</strong>
+<ul>
+ <li>Method addition: <code>public String generateLaunchConfigurationName(String namePrefix)</code> </li>
+ <li>Method addition: <code>public boolean isValidLaunchConfigurationName(String configname) throws IllegalArgumentException</code> </li>
+</ul>
+</p>
+<p><strong>Description: </strong>The <code>generateLaunchConfigurationName(String namePrefix)</code> method is a replacement for the traditional <code>generateUniqueLaunchConfigurationNameFrom(configname)</code> method - which has been deprecated.
+The new method behaves the same as its predecessor but also provides error checking on the new name to ensure it does not use any system reserved characters or names, like <code>com</code> on Windows for example. If an invalid name or character is found
+the method makes an effort to correct the name in one of two ways:
+<ul>
+<li>If an invalid name is given the configuration will be renamed to <code>launch_configuration</code></li>
+<li>Any invalid characters found will be replaced with <code>_</code></li>
+</ul></p>
+<p>
+The <code>isValidLaunchConfigurationName(String configname)</code> method is used to validate the specified configuration name and throws an <code>IllegalArgumentException</code>. This method provides
+the validation for the <code>generateLaunchConfigurationName(String namePrefix)</code> method.
+</p>
+<p><strong>Action required:</strong> This is a backwards compatible change. No action required. </p>
+
<h3>DebugCommandAction base class</h3>
<p><strong>What is affected:</strong>
<ul>

Back to the top