diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/build/org/eclipse/cdt/core/build/managed/IOption.java')
-rw-r--r-- | core/org.eclipse.cdt.core/build/org/eclipse/cdt/core/build/managed/IOption.java | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/core/org.eclipse.cdt.core/build/org/eclipse/cdt/core/build/managed/IOption.java b/core/org.eclipse.cdt.core/build/org/eclipse/cdt/core/build/managed/IOption.java index 1004a711232..9543517adab 100644 --- a/core/org.eclipse.cdt.core/build/org/eclipse/cdt/core/build/managed/IOption.java +++ b/core/org.eclipse.cdt.core/build/org/eclipse/cdt/core/build/managed/IOption.java @@ -49,13 +49,6 @@ public interface IOption extends IBuildObject { public String getCommand(); /** - * @return a <code>String</code> containing the default value for the - * enumerated option. - */ - public String getDefaultEnumName (); - - - /** * @return <code>String</code> containing the command associated with the * enumeration name. */ @@ -76,6 +69,16 @@ public interface IOption extends IBuildObject { public String [] getStringListValue() throws BuildException; /** + * @return a <code>String</code> containing the selected enumeration in an + * enumerated option. For an option that has not been changed by the user, + * the receiver will answer with the default defined in the plugin manifest. + * If the user has modified the selection, the receiver will answer with the + * overridden selection. + */ + public String getSelectedEnum (); + + + /** * Returns the current value for this option if it is a String * * @return |