diff options
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionApplicability.java')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionApplicability.java | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionApplicability.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionApplicability.java index a7b5ef8e943..9b942fe76ff 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionApplicability.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionApplicability.java @@ -7,7 +7,7 @@ * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * Texas Instruments Inc. - initial API and implementation *******************************************************************************/ @@ -22,43 +22,37 @@ public interface IOptionApplicability { * This method is queried whenever a makefile or makefile fragment is * generated which uses this option, and in the C/C++ Build property * pages when displaying the current command line. - * - * @param configuration build configuration of option + * + * @param configuration build configuration of option * (may be IConfiguration or IResourceConfiguration) * @param holder contains the holder of the option * @param option the option itself - * + * * @return true if this option is to be used in command line * generation, false otherwise */ - public boolean isOptionUsedInCommandLine( - IBuildObject configuration, - IHoldsOptions holder, - IOption option); + public boolean isOptionUsedInCommandLine(IBuildObject configuration, IHoldsOptions holder, IOption option); /** * This method is queried whenever a new option category is displayed. - * - * @param configuration build configuration of option + * + * @param configuration build configuration of option * (may be IConfiguration or IResourceConfiguration) * @param holder contains the holder of the option * @param option the option itself - * + * * @return true if this option should be visible in the build options page, * false otherwise */ - public boolean isOptionVisible( - IBuildObject configuration, - IHoldsOptions holder, - IOption option); + public boolean isOptionVisible(IBuildObject configuration, IHoldsOptions holder, IOption option); /** * Whenever the value of an option changes in the GUI, this method is * queried on all other visible options for the same category. Note that * this occurs when the GUI changes - the user may opt to cancel these * changes. - * - * @param configuration build configuration of option + * + * @param configuration build configuration of option * (may be IConfiguration or IResourceConfiguration) * @param holder contains the holder of the option * @param option the option itself @@ -66,9 +60,6 @@ public interface IOptionApplicability { * @return true if this option should be enabled in the build options page, * or false if it should be disabled (grayed out) */ - public boolean isOptionEnabled( - IBuildObject configuration, - IHoldsOptions holder, - IOption option); + public boolean isOptionEnabled(IBuildObject configuration, IHoldsOptions holder, IOption option); } |