Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Question on IRMLaunchConfigurationDynamicTab.getAttributes()

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


Back to the top