org.eclipse.cdt.managedbuilder.core
Interface ITargetPlatform

All Superinterfaces:
IBuildObject
All Known Implementing Classes:
TargetPlatform

public interface ITargetPlatform
extends IBuildObject

This class defines the os/architecture combination upon which the outputs of a tool-chain can be deployed. The osList and archList attributes contain the Eclipse names of the operating systems and architectures described by this element.

Since:
2.1

Field Summary
static java.lang.String ARCH_LIST
           
static java.lang.String BINARY_PARSER
           
static java.lang.String OS_LIST
           
static java.lang.String TARGET_PLATFORM_ELEMENT_NAME
           
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
ID, NAME
 
Method Summary
 java.lang.String[] getArchList()
          Returns an array of architectures this target platform represents.
 java.lang.String getBinaryParserId()
          Deprecated. Use getBinaryParserList
 java.lang.String[] getBinaryParserList()
          Returns the unique IDs of the binary parsers associated with the target platform.
 java.lang.String[] getOSList()
          Returns an array of operating systems this target platform represents.
 IToolChain getParent()
          Returns the tool-chain that is the parent of this target platform.
 ITargetPlatform getSuperClass()
          Returns the ITargetPlatform that is the superclass of this target platform, or null if the attribute was not specified.
 org.eclipse.cdt.core.settings.model.extension.CTargetPlatformData getTargetPlatformData()
           
 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.
 boolean isAbstract()
          Returns whether this element is abstract.
 boolean isDirty()
          Returns true if this element has changes that need to be saved in the project file, else false.
 boolean isExtensionElement()
          Returns true if this target platform was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.
 void setArchList(java.lang.String[] archs)
          Sets the architecture list.
 void setBinaryParserId(java.lang.String id)
          Deprecated. Use setBinaryParserList
 void setBinaryParserList(java.lang.String[] ids)
          Sets the string ids of the binary parsers for this target platform.
 void setDirty(boolean isDirty)
          Sets the element's "dirty" (have I been modified?)
 void setIsAbstract(boolean b)
          Sets the isAbstract attribute of the target paltform.
 void setOSList(java.lang.String[] OSs)
          Sets the OS list.
 
Methods inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
getBaseId, getId, getManagedBuildRevision, getName, getVersion, setVersion
 

Field Detail

TARGET_PLATFORM_ELEMENT_NAME

static final java.lang.String TARGET_PLATFORM_ELEMENT_NAME
See Also:
Constant Field Values

BINARY_PARSER

static final java.lang.String BINARY_PARSER
See Also:
Constant Field Values

OS_LIST

static final java.lang.String OS_LIST
See Also:
Constant Field Values

ARCH_LIST

static final java.lang.String ARCH_LIST
See Also:
Constant Field Values
Method Detail

getParent

IToolChain getParent()
Returns the tool-chain that is the parent of this target platform.

Returns:
IToolChain

getSuperClass

ITargetPlatform getSuperClass()
Returns the ITargetPlatform that is the superclass of this target platform, or null if the attribute was not specified.

Returns:
ITargetPlatform

isAbstract

boolean isAbstract()
Returns whether this element is abstract. Returns false if the attribute was not specified.

Returns:
boolean

setIsAbstract

void setIsAbstract(boolean b)
Sets the isAbstract attribute of the target paltform.

Parameters:
b -

getUnusedChildren

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. Returns an empty string if the attribute was not specified.

Returns:
String

getOSList

java.lang.String[] getOSList()
Returns an array of operating systems this target platform represents.

Returns:
String[]

setOSList

void setOSList(java.lang.String[] OSs)
Sets the OS list.

Parameters:
String[] - The list of OS names

getArchList

java.lang.String[] getArchList()
Returns an array of architectures this target platform represents.

Returns:
String[]

setArchList

void setArchList(java.lang.String[] archs)
Sets the architecture list.

Parameters:
String[] - The list of architecture names

getBinaryParserId

java.lang.String getBinaryParserId()
Deprecated. Use getBinaryParserList

Returns the unique ID of the binary parser associated with the target platform.

Returns:
String

getBinaryParserList

java.lang.String[] getBinaryParserList()
Returns the unique IDs of the binary parsers associated with the target platform.

Returns:
String[]

setBinaryParserId

void setBinaryParserId(java.lang.String id)
Deprecated. Use setBinaryParserList

Sets the string id of the binary parser for this target platform.

Parameters:
id -

setBinaryParserList

void setBinaryParserList(java.lang.String[] ids)
Sets the string ids of the binary parsers for this target platform.

Parameters:
ids -

isDirty

boolean isDirty()
Returns true if this element has changes that need to be saved in the project file, else false.

Returns:
boolean

setDirty

void setDirty(boolean isDirty)
Sets the element's "dirty" (have I been modified?) flag.

Parameters:
isDirty -

isExtensionElement

boolean isExtensionElement()
Returns true if this target platform was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.

Returns:
boolean

getTargetPlatformData

org.eclipse.cdt.core.settings.model.extension.CTargetPlatformData getTargetPlatformData()