Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java55
1 files changed, 28 insertions, 27 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
index 93fdf3518ab..9fb2adaf3cf 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
@@ -24,49 +24,50 @@ public interface IOptionCategory extends IBuildObject {
// Schema element names
public static final String OWNER = "owner"; //$NON-NLS-1$
- public static final String ICON = "icon"; //$NON-NLS-1$
-
-// Resource Filter type
+ public static final String ICON = "icon"; //$NON-NLS-1$
+
+ // Resource Filter type
public static final int FILTER_ALL = 0;
- public static final String ALL = "all"; //$NON-NLS-1$
+ public static final String ALL = "all"; //$NON-NLS-1$
public static final int FILTER_FILE = 1;
public static final int FILTER_PROJECT = 2;
- public static final String PROJECT = "project"; //$NON-NLS-1$
+ public static final String PROJECT = "project"; //$NON-NLS-1$
/**
* Returns the list of children of this node in the option category tree
*/
public IOptionCategory[] getChildCategories();
-
+
/**
* Returns an array of ITool/IOption pairs for the options in this category
* for a given configuration.
- *
+ *
* @since 3.1
*/
public Object[][] getOptions(IConfiguration configuration, IHoldsOptions optHolder);
+
/**
* @deprecated since 3.1 - use getOption with IHoldsOptions aregument instead
*/
@Deprecated
public Object[][] getOptions(IConfiguration configuration);
-// /**
-// * Returns an array of ITool/IOption pairs for the options in this category
-// * for a given resource configuration.
-// *
-// * @since 3.1
-// */
-// public Object[][] getOptions(IResourceConfiguration resConfig, IHoldsOptions optHolder);
+ // /**
+ // * Returns an array of ITool/IOption pairs for the options in this category
+ // * for a given resource configuration.
+ // *
+ // * @since 3.1
+ // */
+ // public Object[][] getOptions(IResourceConfiguration resConfig, IHoldsOptions optHolder);
/**
* Returns an array of ITool/IOption pairs for the options in this category
* for a given resource configuration.
- *
+ *
* @since 3.1
*/
public Object[][] getOptions(IResourceInfo resInfo, IHoldsOptions optHolder);
-
+
/**
* @deprecated since 3.1 - use getOption with IHoldsOptions argument instead
*/
@@ -78,11 +79,11 @@ public interface IOptionCategory extends IBuildObject {
* top category for a tool.
*/
public IOptionCategory getOwner();
-
+
/**
* Returns the tool that ultimately owns this category.
* If owned by a toolChain return null.
- *
+ *
* @deprecated since 3.0 - use getOptionHolder() instead
*/
@Deprecated
@@ -91,12 +92,12 @@ public interface IOptionCategory extends IBuildObject {
/**
* Returns the holder (parent) of this category. This may be an object
* implementing ITool or IToolChain, which both extend IHoldsOptions.
- * The call can return null, for example the top option category of a tool
+ * The call can return null, for example the top option category of a tool
* will return null.
- *
+ *
* Note that the name getOptionHolder() has been choosen, because Tool implements
* both ITool and IOptionCategory and ITool.getParent() exists already.
- *
+ *
* @return IHoldsOptions
* @since 3.0
*/
@@ -105,25 +106,25 @@ public interface IOptionCategory extends IBuildObject {
/**
* Get the path name of an alternative icon for the option group.
* Or null if no alternative icon was defined.
- *
+ *
* @return URL
* @since 3.0
*/
public URL getIconPath();
/**
- * Returns <code>true</code> if this element has changes that need to
+ * Returns <code>true</code> if this element has changes that need to
* be saved in the project file, else <code>false</code>.
- *
- * @return boolean
+ *
+ * @return boolean
*/
public boolean isDirty();
-
+
/**
* Sets the element's "dirty" (have I been modified?) flag.
*/
public void setDirty(boolean isDirty);
-
+
/**
* @return an instance of the class that calculates whether the option category is visible.
* @since 8.0

Back to the top