[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Question on IRMLaunchConfigurationDynamicTab.getAttributes()
|
Daniel,
I think the answer is that it's never been needed before. I don't see
any problem with adding a new interface that can supply this parameter
and a default implementation that just ignores it.
Greg
On Sep 19, 2008, at 3:17 PM, Daniel Felix Ferber wrote:
Hi,
While implementing a new IRMLaunchConfigurationDynamicTab, I was
wondering why it does not receive a parameter with the launch mode.
In my case, the value of some attributes depend if the launch was
for "run" or "debug".
Would it be reasonable to pass the 'mode' parameter from the
ILaunchConfigurationDelegate.launch(...) to the getAttribute()
methods?
Or is there another better approach? I could have the same attribute
once for 'run' and once for 'debug', where the RuntimeSystem selects
which one to use. But I would like to avoid this approach.
Best regards,
Daniel Felix Ferber
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev