Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] Enhancements to launch tab API/lifecycle


We have released a fix for the following enhancement request to HEAD, and it will appear in next week's integration build. There are no breaking changes (binary or behavior), however, tab implementors may want to take advantage of the new API.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=43952

The following methods have been added to ILaunchConfigurationTab
* activated(ILaunchConfigurationWorkingCopy)
* deactivated(ILaunchConfigurationWorkingCopy)

The new methods are called when a tab is entered (activated) and exited (deactivated). The default implementation in AbstractLaunchConfigrationTab calls the lifecycle methods initializeFrom() and performApply() to avoid breaking existing implementations. Generally, if a tab does not take part in inter-tab communication, a tab should override the new methods ('activated' and 'deactivated') to do nothing. This will make a tab more efficient.

Darin

Back to the top