public final class UnknownSignatureDiagnostic
extends java.lang.Object
implements org.eclipse.emf.ecore.resource.Resource.Diagnostic
This diagnostic is placed into the warnings list of a resource
(Resource.getWarnings() to indicate
that there was an unrecognized signature found in the resource. The diagnostic
provides additional information that can be used to discover what features the
user should install into their runtime in order to gain the required functionality.
This class is not intended to be constructed by clients.
| Constructor and Description |
|---|
UnknownSignatureDiagnostic(com.ibm.xtools.emf.core.internal.signature.SignatureOccurrence signature,
org.eclipse.emf.common.util.URI resourceURI)
Constructor for the diagnostic object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn() |
java.util.Collection<IFeatureDescription> |
getFeatureDescriptions()
Returns a list of
IFeatureDescriptions representing features that
should be installed into the runtime in order to allow the user to properly
load the resource. |
int |
getLine() |
java.lang.String |
getLocation() |
java.lang.String |
getMessage() |
public UnknownSignatureDiagnostic(com.ibm.xtools.emf.core.internal.signature.SignatureOccurrence signature,
org.eclipse.emf.common.util.URI resourceURI)
Constructor for the diagnostic object.
This constructor is not intended to be called by clients.
signature - The signature adornment that was unrecognized from the
resource.resourceURI - The URI of the resource that contained the unrecognized
signature.public java.lang.String getMessage()
getMessage in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic java.lang.String getLocation()
getLocation in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic int getLine()
getLine in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic int getColumn()
getColumn in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic java.util.Collection<IFeatureDescription> getFeatureDescriptions()
IFeatureDescriptions representing features that
should be installed into the runtime in order to allow the user to properly
load the resource.IFeatureDescription objects. This collection should
not be modified.