-
-
Method Summary
boolean
Adds an existing file to this part
This can be used where the caller wants to add the same file to 2 or more parts
Create a file that has this part as its parent
void
Set the part as having debug info, by default parts are not considered debuggable
void
void
Methods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCBase
addEncodedMessage, addMessage, addMessage, getDecodedMessages, getDecodedMessages, getID, getMessages, getName, getProperties, getProperty, getProperty, isMessage, isProperty, setName, setProperty, updateProperty
Methods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCTreeItem
addChild, addChildren, getChild, getChildren, getNumChildren, getParent, getQualifiedName, getUniqueID, getUUID, isRoot, refresh, setParent, setUUID, supportsUUID
-
Method Details
-
setLanguage
void setLanguage(int language)
- Parameters:
language - programming language
-
setDebuggable
void setDebuggable()
Set the part as having debug info, by default parts are not considered debuggable
-
setHit
void setHit()
Mark as hit
-
createFile
Create a file that has this part as its parent
- Parameters:
name - file name
- Returns:
- created file
- Throws:
CCFileExistsException - if the file already exists, the existing file can be retrieved from the exception
CCImportException
- Since:
- 9.0
-
addFile
Adds an existing file to this part
This can be used where the caller wants to add the same file to 2 or more parts
- Parameters:
file - existing file
- Returns:
- true if the file was added, false if it already existed
- Since:
- 9.0