Class CExternalSettingProvider
java.lang.Object
org.eclipse.cdt.core.settings.model.extension.CExternalSettingProvider
Abstract base class for the External Settings Provider extension point. Contributed
external settings are added to the Project's build configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract CExternalSetting[]
getSettings
(org.eclipse.core.resources.IProject project, ICConfigurationDescription cfg) Hook for fetching external settings from the contributed external setting providergetSettings
(org.eclipse.core.resources.IProject project, ICConfigurationDescription cfg, CExternalSetting[] previousSettings) Hook for fetching external settings from the contributed external settings provider.
-
Constructor Details
-
CExternalSettingProvider
public CExternalSettingProvider()
-
-
Method Details
-
getSettings
public abstract CExternalSetting[] getSettings(org.eclipse.core.resources.IProject project, ICConfigurationDescription cfg) Hook for fetching external settings from the contributed external setting provider- Parameters:
project
-cfg
- ICConfigurationDescription for which to fetch contributed external settings- Returns:
- CExternalSetting[] or contributed external settings
-
getSettings
public CExternalSetting[] getSettings(org.eclipse.core.resources.IProject project, ICConfigurationDescription cfg, CExternalSetting[] previousSettings) Hook for fetching external settings from the contributed external settings provider. This call-back provides the previous version of the settings as cached by cdt.core- Parameters:
project
- IProjectcfg
- ICConfigurationDescription for which to fetch contributed external settingspreviousSettings
- external settings as cached by cdt.core for thisCExternalSettingProvider
or an empty array- Returns:
- CExternalSetting[] of contributed external settings
- Since:
- 5.2
-