Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] LCD need

Even to do only that, there is no API. The main entry point on the launch configurations, DebugUIPlugin.getLaunchConfigurationManager() is internal (as are all the classes related to it).

I think that what David asked, is a launch configuration dialog where he can filter only some launch configuration type, and where the 'launch' button is replaced by a 'OK' button (which returns the selection).

Luc

Jared Burns wrote:

If you just want the user to be able to select (not configure) them, use an ElementListSelectionDialog or ElementTreeSelectionDialog depending on whether or not you want to show them as a flat list or you want to include the config types as top-level nodes.

Use the LaunchManager to get the collection of configs of a particular type.

As I understand your problem, there's no need for new API here.

- Jared

On Wednesday 26 November 2003 09:19 am, David Corbin wrote:
Hi there.

I'm working on a plugin that has need for the user to select a
LaunchConfiguration.  It's possible he'll need to create the Configuration
if one doesn't exist.  Either way, the configuration needs to be from a
particular set of LaunchConfigurationTypes.

Now, I can see three different solutions to this:
1) Depend on debug.ui.internal classes.
2) Reimplement a lot of what the internals has in it already.
3) Build a new API that's based on the internals, and convince "you folk"
that it should be acccepted and made part of the debug.ui plugin.

#3 is my preference.  But, I don't want to go down that road if it's not
likely to be accepted.  So, do you think such code would likely be
accepted?

David Corbin
P.S.   If you think I'm making this harder than needs to be, please tell
me.

_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev

_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev





Back to the top