org.eclipse.cdt.managedbuilder.internal.core
Class BuildObjectProperties

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.buildproperties.BuildProperties
      extended by org.eclipse.cdt.managedbuilder.internal.core.BuildObjectProperties
All Implemented Interfaces:
java.lang.Cloneable, IBuildProperties, IBuildObjectProperties, IBuildPropertiesRestriction

public class BuildObjectProperties
extends BuildProperties
implements IBuildObjectProperties


Constructor Summary
BuildObjectProperties(BuildObjectProperties properties, IBuildPropertiesRestriction restriction, IBuildPropertyChangeListener listener)
           
BuildObjectProperties(IBuildPropertiesRestriction restriction, IBuildPropertyChangeListener listener)
           
BuildObjectProperties(java.lang.String properties, IBuildPropertiesRestriction restriction, IBuildPropertyChangeListener listener)
           
 
Method Summary
 void clear()
           
 java.lang.String[] getRequiredTypeIds()
           
 java.lang.String[] getSupportedTypeIds()
           
 IBuildPropertyType[] getSupportedTypes()
           
 java.lang.String[] getSupportedValueIds(java.lang.String typeId)
           
 IBuildPropertyValue[] getSupportedValues(java.lang.String typeId)
           
 IBuildProperty removeProperty(java.lang.String id)
           
 boolean requiresType(java.lang.String typeId)
           
 IBuildProperty setProperty(java.lang.String propertyId, java.lang.String propertyValue)
           
 boolean supportsType(java.lang.String id)
           
 boolean supportsValue(java.lang.String typeId, java.lang.String valueId)
           
 
Methods inherited from class org.eclipse.cdt.managedbuilder.internal.buildproperties.BuildProperties
clone, containsValue, getProperties, getProperty, setProperty, toString, toStringExistingProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.managedbuilder.buildproperties.IBuildProperties
clone, containsValue, getProperties, getProperty
 

Constructor Detail

BuildObjectProperties

public BuildObjectProperties(IBuildPropertiesRestriction restriction,
                             IBuildPropertyChangeListener listener)

BuildObjectProperties

public BuildObjectProperties(BuildObjectProperties properties,
                             IBuildPropertiesRestriction restriction,
                             IBuildPropertyChangeListener listener)

BuildObjectProperties

public BuildObjectProperties(java.lang.String properties,
                             IBuildPropertiesRestriction restriction,
                             IBuildPropertyChangeListener listener)
Method Detail

getSupportedTypes

public IBuildPropertyType[] getSupportedTypes()
Specified by:
getSupportedTypes in interface IBuildObjectProperties

getSupportedValues

public IBuildPropertyValue[] getSupportedValues(java.lang.String typeId)
Specified by:
getSupportedValues in interface IBuildObjectProperties

supportsType

public boolean supportsType(java.lang.String id)
Specified by:
supportsType in interface IBuildPropertiesRestriction

supportsValue

public boolean supportsValue(java.lang.String typeId,
                             java.lang.String valueId)
Specified by:
supportsValue in interface IBuildPropertiesRestriction

clear

public void clear()
Specified by:
clear in interface IBuildProperties
Overrides:
clear in class BuildProperties

removeProperty

public IBuildProperty removeProperty(java.lang.String id)
Specified by:
removeProperty in interface IBuildProperties
Overrides:
removeProperty in class BuildProperties

setProperty

public IBuildProperty setProperty(java.lang.String propertyId,
                                  java.lang.String propertyValue)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setProperty in interface IBuildProperties
Overrides:
setProperty in class BuildProperties
Throws:
org.eclipse.core.runtime.CoreException

getRequiredTypeIds

public java.lang.String[] getRequiredTypeIds()
Specified by:
getRequiredTypeIds in interface IBuildPropertiesRestriction

requiresType

public boolean requiresType(java.lang.String typeId)
Specified by:
requiresType in interface IBuildPropertiesRestriction

getSupportedTypeIds

public java.lang.String[] getSupportedTypeIds()
Specified by:
getSupportedTypeIds in interface IBuildPropertiesRestriction

getSupportedValueIds

public java.lang.String[] getSupportedValueIds(java.lang.String typeId)
Specified by:
getSupportedValueIds in interface IBuildPropertiesRestriction