[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-debug-dev] LCD need
|
DebugPlugin.getDefault().getLaunchManager() will get you to the launch manager
where you can access launch configs and config types.
If you want the full LCD functionality, take a look at the
DebugUITools.openLaunchConfigurationDialog* methods. If you want to open the
config dialog on config types of your own creation, you can define a launch
group and open the dialog on that to achieve victory. This is how external
tools/Ant is able to open the LCD and only show Program and Ant launch config
types.
- Jared
On Wednesday 26 November 2003 09:54 am, David Corbin wrote:
> On Wednesday 26 November 2003 12:33, 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.
>
> Select would be better than nothing. However, I would like to allow the
> user to create new configuration or modify an existing one. Forcing the
> user to go through the "regular" LCD page to add one, and then having to
> select the configuration just added seems like a bad UI design.
>
> > 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.
>
> Launch Manager is an internal class. Doesn't that mean a new API is
> required.
>
> David
>
> _______________________________________________
> platform-debug-dev mailing list
> platform-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-debug-dev