Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 176430 - remove API for set/get default launch config for a resource
Summary: remove API for set/get default launch config for a resource
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 74480
  Show dependency tree
 
Reported: 2007-03-05 18:10 EST by Darin Wright CLA
Modified: 2007-03-12 14:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2007-03-05 18:10:07 EST
One approach for "simplify launching for novice users" (bug 74480) used the notion of a default launch configuration for a resource (so we could launch the default config for a resource when there is more than one). However, we have since changed the approach used in "contextual launch" to use the launch history as an MRU list, effectively launching the most recently launched configuration associated with a resource.

At this time, we feel that the notion of a "default configuration" for a resource is not needed, and makes the launch story more confusing (i.e. mixing launch default with launch most recent makes it difficult for the user to know what will be launched when they press the run button).

We propose to remove the new API introduced in 3.3:

ILaunchManager.getDefaultConfiguration(IResource)
ILaunchManager.setDefaultConfiguration(IResource, ILaunchConfiguration)

This API has been marked as experimental in 3.3, and there are no known users of the API. The only known use of the API was the debug platform itself and a few tests which will be updated to no longer use the API.
Comment 1 Darin Wright CLA 2007-03-05 18:10:27 EST
Awaiting PMC approval.
Comment 2 Mike Wilson CLA 2007-03-07 10:15:24 EST
+1
Comment 3 Darin Wright CLA 2007-03-07 14:47:23 EST
Fixed. Removed API, impl and tests
Comment 4 Darin Wright CLA 2007-03-07 14:47:37 EST
Please verify.
Comment 5 Michael Rennie CLA 2007-03-12 14:29:32 EDT
verified