|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICModelStatus
Represents the outcome of an C model operation. Status objects are
used inside CModelException objects to indicate what went
wrong.
C model status object are distinguished by their plug-in id:
getPlugin returns "org.eclipse.cdt.core".
getCode returns one of the status codes declared in
ICModelStatusConstants.
A C model status may also carry additional information (that is, in
addition to the information defined in IStatus):
org.eclipse.core.runtime.IStatus,
ICModelStatusConstants| Method Summary | |
|---|---|
boolean |
doesNotExist()
Returns whether this status indicates that a C model element does not exist. |
ICElement[] |
getElements()
Returns any C elements associated with the failure (see specification of the status code), or an empty array if no elements are related to this particular status code. |
IPath |
getPath()
Returns the path associated with the failure (see specification of the status code), or null if the failure is not
one of DEVICE_PATH, INVALID_PATH,
PATH_OUTSIDE_PROJECT, or RELATIVE_PATH. |
java.lang.String |
getString()
Returns the string associated with the failure (see specification of the status code), or null if no string is related to this
particular status code. |
| Method Detail |
|---|
ICElement[] getElements()
ICModelStatusConstantsIPath getPath()
null if the failure is not
one of DEVICE_PATH, INVALID_PATH,
PATH_OUTSIDE_PROJECT, or RELATIVE_PATH.
null if noneICModelStatusConstants.DEVICE_PATH,
ICModelStatusConstants.INVALID_PATH,
ICModelStatusConstants.PATH_OUTSIDE_PROJECT,
ICModelStatusConstants.RELATIVE_PATHjava.lang.String getString()
null if no string is related to this
particular status code.
null if noneICModelStatusConstantsboolean doesNotExist()
getCode() == ICModelStatusConstants.ELEMENT_DOES_NOT_EXIST.
true if the status code indicates that a C model
element does not existICModelStatusConstants.ELEMENT_DOES_NOT_EXIST
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||