|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.managedbuilder.ui.tests.util.TestProjectType
public class TestProjectType
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IProjectType |
---|
BUILD_ARTEFACT_TYPE, BUILD_PROPERTIES, CONFIGURATION_NAME_PROVIDER, CONVERT_TO_ID, IS_ABSTRACT, IS_TEST, PROJECT_ENVIRONMENT_SUPPLIER, PROJECT_MACRO_SUPPLIER, PROJECTTYPE_ELEMENT_NAME, SUPERCLASS, UNUSED_CHILDREN |
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject |
---|
ID, NAME |
Constructor Summary | |
---|---|
TestProjectType()
|
Method Summary | |
---|---|
boolean |
checkForMigrationSupport()
check for migration support. |
IConfiguration |
createConfiguration(IConfiguration parent,
java.lang.String id,
java.lang.String name)
Creates a configuration for this project-type populated with the tools and options settings from the parent configuration. |
java.lang.String |
getBaseId()
|
IBuildPropertyValue |
getBuildArtefactType()
|
IProjectBuildMacroSupplier |
getBuildMacroSupplier()
Returns the tool-integrator provided implementation of the project build macro supplier or null if none. |
IBuildObjectProperties |
getBuildProperties()
|
IConfiguration |
getConfiguration(java.lang.String id)
Returns the configuration with the given id, or null if not found. |
IConfigurationNameProvider |
getConfigurationNameProvider()
Returns the configurationNameProvider. |
IConfiguration[] |
getConfigurations()
Returns all of the configurations defined by this project-type. |
java.lang.String |
getConvertToId()
Returns the 'convertToId' of this project type. |
IProjectEnvironmentVariableSupplier |
getEnvironmentVariableSupplier()
Returns the tool-integrator provided implementation of the project environment variable supplier or null if none. |
java.lang.String |
getId()
|
java.lang.String |
getManagedBuildRevision()
|
java.lang.String |
getName()
|
java.lang.String |
getNameAttribute()
|
IProjectType |
getSuperClass()
Returns the IProjectType that is the superclass of this
project-type, or null if the attribute was not specified. |
java.lang.String |
getUnusedChildren()
Returns a semi-colon delimited list of child Ids of the superclass' children that should not be automatically inherited by this element. |
org.eclipse.core.runtime.PluginVersionIdentifier |
getVersion()
|
boolean |
isAbstract()
Returns whether this element is abstract. |
boolean |
isSupported()
Returns true if at least one project-type contiguration is supported on the system
otherwise returns false |
boolean |
isSystemObject()
|
boolean |
isTestProjectType()
Returns true if the project-type is defined
for testing purposes only, else false . |
void |
removeConfiguration(java.lang.String id)
Removes the configuration with the ID specified in the argument. |
void |
setConvertToId(java.lang.String convertToId)
Sets the 'convertToId' attribute of the project type. |
void |
setIsAbstract(boolean b)
Sets the isAbstract attribute of the tool-chain. |
void |
setVersion(org.eclipse.core.runtime.PluginVersionIdentifier version)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestProjectType()
Method Detail |
---|
public boolean checkForMigrationSupport()
IProjectType
checkForMigrationSupport
in interface IProjectType
public IConfiguration createConfiguration(IConfiguration parent, java.lang.String id, java.lang.String name)
IProjectType
NOTE: This routine affects the in-memory representation of the project-type, but since project-types are never written to the .cdtbuild file, the manifest definition does not change.
createConfiguration
in interface IProjectType
parent
- The IConfiguration
to use as a settings templateid
- The unique id the new configuration will havename
- The name the new configuration will have
public IProjectBuildMacroSupplier getBuildMacroSupplier()
IProjectType
null
if none.
getBuildMacroSupplier
in interface IProjectType
public IConfiguration getConfiguration(java.lang.String id)
IProjectType
null
if not found.
getConfiguration
in interface IProjectType
id
- The unique id of the configuration
public IConfigurationNameProvider getConfigurationNameProvider()
IProjectType
getConfigurationNameProvider
in interface IProjectType
public IConfiguration[] getConfigurations()
IProjectType
getConfigurations
in interface IProjectType
public java.lang.String getConvertToId()
IProjectType
getConvertToId
in interface IProjectType
public IProjectEnvironmentVariableSupplier getEnvironmentVariableSupplier()
IProjectType
null
if none.
getEnvironmentVariableSupplier
in interface IProjectType
public java.lang.String getNameAttribute()
getNameAttribute
in interface IProjectType
public IProjectType getSuperClass()
IProjectType
IProjectType
that is the superclass of this
project-type, or null
if the attribute was not specified.
getSuperClass
in interface IProjectType
public java.lang.String getUnusedChildren()
IProjectType
getUnusedChildren
in interface IProjectType
public boolean isAbstract()
IProjectType
false
if the attribute was not specified.
isAbstract
in interface IProjectType
public boolean isSupported()
IProjectType
true
if at least one project-type contiguration is supported on the system
otherwise returns false
isSupported
in interface IProjectType
public boolean isTestProjectType()
IProjectType
true
if the project-type is defined
for testing purposes only, else false
. A test project-type will
not be shown in the UI but can still be manipulated programmatically.
Returns false
if the attribute was not specified.
isTestProjectType
in interface IProjectType
public void removeConfiguration(java.lang.String id)
IProjectType
NOTE: This routine affects the in-memory representation of the project-type, but since project-types are never written to the .cdtbuild file, the manifest definition does not change.
removeConfiguration
in interface IProjectType
id
- The unique id of the configurationpublic void setConvertToId(java.lang.String convertToId)
IProjectType
setConvertToId
in interface IProjectType
public void setIsAbstract(boolean b)
IProjectType
setIsAbstract
in interface IProjectType
public java.lang.String getBaseId()
getBaseId
in interface IBuildObject
public java.lang.String getId()
getId
in interface IBuildObject
public java.lang.String getManagedBuildRevision()
getManagedBuildRevision
in interface IBuildObject
public java.lang.String getName()
getName
in interface IBuildObject
public org.eclipse.core.runtime.PluginVersionIdentifier getVersion()
getVersion
in interface IBuildObject
public void setVersion(org.eclipse.core.runtime.PluginVersionIdentifier version)
setVersion
in interface IBuildObject
public IBuildObjectProperties getBuildProperties()
getBuildProperties
in interface IBuildObjectPropertiesContainer
public IBuildPropertyValue getBuildArtefactType()
getBuildArtefactType
in interface IProjectType
public boolean isSystemObject()
isSystemObject
in interface IProjectType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |