Bug 11013: Don't break binary compatibility (in case someone else uses this)
authorEd Swartz <ed.swartz@nokia.com>
Wed, 07 Apr 2010 14:01:10 -0500
changeset 1172 d1378138ca79
parent 1171 651ae39eb566
child 1173 3356621aee34
Bug 11013: Don't break binary compatibility (in case someone else uses this)
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java	Wed Apr 07 13:22:43 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java	Wed Apr 07 14:01:10 2010 -0500
@@ -31,8 +31,14 @@
 
 	protected abstract void launchProject(IProject project, Executable executable, IPath defaultMMP, String mode);
 
-	/** Tell whether this existing configuration matches one the shortcut would create */
-	protected abstract boolean isSupportedConfiguration(ILaunchConfiguration config) throws CoreException;
+	/**
+	 * Override to tell whether this existing configuration matches the type of
+	 * one the shortcut would create. The default implementation returns true
+	 * for all configurations.
+	 */
+	protected boolean isSupportedConfiguration(ILaunchConfiguration config) throws CoreException {
+		return true;
+	}
 	
 	public void launch(IEditorPart editor, String mode) {
 		// launch an existing config if one exists