diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java index 121b8408c74..6e54e180496 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Intel Corporation - Initial API and implementation + * Intel Corporation - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.core.settings.model; @@ -21,62 +21,63 @@ import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.QualifiedName; /** - * this is the element representing configuration and thus this is the root element - * for configuration-specific settings - * + * This is the element representing configuration and thus this is the root element + * for configuration-specific settings */ -public interface ICConfigurationDescription extends ICSettingContainer, ICSettingObject, ICSettingsStorage{ +public interface ICConfigurationDescription extends ICSettingContainer, ICSettingObject, ICSettingsStorage { /** * Returns whether or not this is an active configuration. - * Active configuratiuon is the one that is built by default. - * This configuration is returned by the {@link ICProjectDescription#getActiveConfiguration()} call - * + * Active configuration is the one that is built by default. + * This configuration is returned by the {@link ICProjectDescription#getActiveConfiguration()} + * call + * * @return boolean */ boolean isActive(); /** - * returns the human-readable configuration description + * Returns the human-readable configuration description. */ String getDescription(); - + /** - * sets the configuration description - * + * Sets the configuration description + * * @param des * @throws WriteAccessException when the configuration description is read-only * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} */ void setDescription(String des) throws WriteAccessException; - + /** - * returns the project description this configuration belongs to + * Returns the project description this configuration belongs to */ ICProjectDescription getProjectDescription(); - + /** - * returns the "root" folder description + * Returns the "root" folder description * The root folder description is the default one used for the project root folder * The root folder description can not be null */ ICFolderDescription getRootFolderDescription(); - + /** - * returns the complete set of folder descriptions defined for this configuration + * Returns the complete set of folder descriptions defined for this configuration * The folder description is the settings holder for the specified folder * @see ICFolderDescription */ ICFolderDescription[] getFolderDescriptions(); /** - * returns the complete set of file descriptions defined for this configuration + * Returns the complete set of file descriptions defined for this configuration * The file description is the settings holder for the specified file * @see ICFileDescription */ ICFileDescription[] getFileDescriptions(); /** - * returns the complete set of file and folder descriptions (resource descriptions) defined for this configuration + * Returns the complete set of file and folder descriptions (resource descriptions) defined + * for this configuration * The resource description is the settings holder for the specified resource * @see ICResourceDescription * @see ICFileDescription @@ -86,111 +87,117 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin /** * Returns the resource description for the given path - * + * * @param path - project-relative workspace resource path - * @param exactPath - when true the resource description of the given path is searched and if not found null is returned, + * @param exactPath - when true the resource description of the given path is searched and if + * not found null is returned, * if false, the resource description applicable for the given path is returned, * i.e. if the configuration contains resource descriptions of the following paths "" and "a/" * getResourceDescription(new Path("a/b"), true) returns null * getResourceDescription(new Path("a/b"), false) returns the "a" folder description - * @return {@link ICResourceDescription} that is either a {@link ICFolderDescription} or an {@link ICFileDescription} + * @return {@link ICResourceDescription} that is either a {@link ICFolderDescription} or + * an {@link ICFileDescription} */ ICResourceDescription getResourceDescription(IPath path, boolean exactPath); /** - * removes the given resource description from the configuration - * + * Removes the given resource description from the configuration + * * @param des * @throws CoreException * @throws WriteAccessException when the configuration description is read-only * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} */ void removeResourceDescription(ICResourceDescription des) throws CoreException, WriteAccessException; - + /** - * creates a new file description for the specified path + * Creates a new file description for the specified path * @param path project-relative file workspace path - * @param base resource description from which settings will be coppied/inheritted + * @param base resource description from which settings will be coppied/inheritted * @throws CoreException * @throws WriteAccessException when the configuration description is read-only * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} */ ICFileDescription createFileDescription(IPath path, ICResourceDescription base) throws CoreException, WriteAccessException; - + /** - * creates a new folder description for the specified path + * Creates a new folder description for the specified path * @param path project-relative folder workspace path - * @param base resource description from which settings will be coppied/inheritted + * @param base resource description from which settings will be coppied/inheritted * @throws CoreException * @throws WriteAccessException when the configuration description is read-only * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} */ ICFolderDescription createFolderDescription(IPath path, ICFolderDescription base) throws CoreException, WriteAccessException; - + /** - * returns the ID of the build system used with this configuration - * i.e. the id of extension contributing to the org.eclipse.cdt.core.CConfigurationDataProvider extension point - * used with this configuration - * + * Returns the ID of the build system used with this configuration + * i.e. the id of extension contributing to the org.eclipse.cdt.core.CConfigurationDataProvider + * extension point used with this configuration + * * @return String */ String getBuildSystemId(); - + /** - * This method should be used by the build system only for gettings + * This method should be used by the build system only for getting * the build-system contributed CConfigurationData - * @see CConfigurationDataProvider and the org.eclipse.cdt.core.CConfigurationDataProvider extension point + * @see CConfigurationDataProvider and the org.eclipse.cdt.core.CConfigurationDataProvider + * extension point */ CConfigurationData getConfigurationData(); - + /** - * sets this cinfiguration as active - * this call is equivalent to {@link ICProjectDescription#setActiveConfiguration(ICConfigurationDescription)} - * Active configuratiuon is the one that is built by default. - * This configuration is returned by the {@link ICProjectDescription#getActiveConfiguration()} call - * + * Sets this configuration as active + * this call is equivalent to + * {@link ICProjectDescription#setActiveConfiguration(ICConfigurationDescription)} + * Active configuration is the one that is built by default. + * This configuration is returned by the {@link ICProjectDescription#getActiveConfiguration()} + * call + * * @throws WriteAccessException when the configuration description is read-only, * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} */ void setActive() throws WriteAccessException; - + /** * This method should be used by the build system only for updating * the build-system contributed CConfigurationData - * + * * @throws WriteAccessException when the configuration description is read-only, * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} - * - * @see CConfigurationDataProvider and the extension point org.eclipse.cdt.core.CConfigurationDataProvider + * + * @see CConfigurationDataProvider and the extension point + * org.eclipse.cdt.core.CConfigurationDataProvider */ void setConfigurationData(String buildSystemId, CConfigurationData data) throws WriteAccessException; - + /** - * returns whether or not the configuration description was modified + * Returns whether or not the configuration description was modified */ boolean isModified(); - + /** - * returns the target platform settings for this configuration + * Returns the target platform settings for this configuration * @see ICTargetPlatformSetting */ ICTargetPlatformSetting getTargetPlatformSetting(); - + /** - * returns the source entries for this configuration + * Returns the source entries for this configuration * @see ICSourceEntry */ ICSourceEntry[] getSourceEntries(); - + ICSourceEntry[] getResolvedSourceEntries(); /** - * sets the source entries for this configuration - * + * Sets the source entries for this configuration + * * @param entries - * + * * @throws WriteAccessException when the configuration description is read-only, - * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} + * see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)} */ void setSourceEntries(ICSourceEntry[] entries) throws CoreException, WriteAccessException; @@ -198,9 +205,9 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin * Returns a Map of configurations referenced by this configuration. Settings exported * by a project configuration are automatically picked up by any referencing configurations. *
- * This Map is keyed by project name with value equal to the referenced configuration's ID, or the - * empty string. The empty string is a special configuration value which indicates the reference - * tracks the Active configuration in the referenced Project. + * This Map is keyed by project name with value equal to the referenced configuration's ID, or + * the empty string. The empty string is a special configuration value which indicates + * the reference tracks the Active configuration in the referenced Project. *
* If the current configuration does not reference any other configurations,
* an empty map is returned.
@@ -231,7 +238,7 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin
void setReferenceInfo(Map