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

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().

Darin Wright




"Mike Frysinger" <vapier.adi@xxxxxxxxx> 
Sent by: platform-debug-dev-bounces@xxxxxxxxxxx
05/26/2008 02:54 PM
Please respond to
"Eclipse Platform Debug component developers list." 
<platform-debug-dev@xxxxxxxxxxx>


To
platform-debug-dev@xxxxxxxxxxx
cc

Subject
[platform-debug-dev] accessing LaunchConfiguration from a tab






i'm creating a custom debug interface (LaunchConfigurationTabGroup)
with multiple tabs.  the first tab is used to display a bunch of
common profiles/templates which reconfigures the values on all the
other tabs.  the easiest way to implement this from what i can see is
to get access to the working copy of the LaunchConfiguration and
tweaking the values there.  this also has the advantage of being able
to reuse existing tabs from other plugins without having to copy them
in their entirety.

but i cant seem to figure out how a tab can get access to this
information.  a LaunchConfigurationTab cannot directly access the
LaunchConfigurationTabGroup it is a part of, nor can a
LaunchConfigurationTabGroup access the
LaunchConfigurationTabGroupViewer it is a child of.  if a tab could
get up to its parent viewer, then getting the configuration from the
viewer seems to be trivial ...
-mike
_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev




Back to the top