Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] accessing LaunchConfiguration from a tab

On Mon, May 26, 2008 at 4:09 PM, Darin Wright wrote:
> A launch tab has access to the working copy, and the working copy has
> access to the original
>
> @see ILaunchConfigurationWorkingCopy.getOriginal()
>
> Since working copies can be nested, you should also traverse the parents
> of a working copy to get to the root working copy first - @see
> getParent().

ah, the code i was playing with was in an event handler, so "this"
wasnt referring back to the LaunchConfigurationTab like i was thinking
at the time ... the LaunchConfigurationTab certainly has a lot more
functions to play with, but i cant seem to see how to get at the
working copy via it.  any hints ?

i do see that LaunchConfigurationTab's can access any
LaunchConfiguration via the LaunchManager, but that involves
specifying a name when i just want "the active one".
-mike


Back to the top