Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] 'Restore Defaults' behavior in 'Paths and Symbols' page

Hi folks,

 

‘Restore Defaults’ of ‘Paths and Symbols’ page doesn’t invoke ‘postDefaultProviders’.

Checking the code for AbstractCPropertyTab, the implementation for getCfg() says the following…

               /**

     * This method needs to be subclassed by those who wish to support the

     * postDefaultProviders extension point. It returns the the IConfiguration

     * object containing the current IConfiguration object, which in turn contains

     * the current toolchain.

     *

      * @return IConfiguration object

     */

     public Object getCfg() {

           return null;

     }

 

Any specific reason the getCfg method here doesn’t have a complete implementation? Something like:

               public Object getCfg() {

           return ManagedBuildManager.getConfigurationForDescription(getResDesc().getConfiguration());

     }

 

Thanks,

Mohamed Azab

 


Back to the top