public interface BaseCSResource extends CSResource.CSResourceExtension2
CSResource.CSResourceExtension, CSResource.CSResourceExtension2
Modifier and Type | Method and Description |
---|---|
void |
createAndAddDiagnostic(<any> triple)
Add the unresolved reference message for EReference in EObject at INode.
|
AS2CS |
createAS2CS(Map<? extends BaseCSResource,? extends ASResource> cs2asResourceMap,
EnvironmentFactoryInternal environmentFactory)
Create the AS2CS converter for the cs2asResourceMap conversions using metamodelManager.
|
CS2AS |
createCS2AS(EnvironmentFactoryInternal environmentFactory,
ASResource asResource)
Create the CS2AS converter for the cs2asResourceMap conversions using metamodelManager.
|
CS2AS |
findCS2AS()
Return the CS2AS adapter for this resource, or null if none in use.
|
String |
getASContentType()
Return the eContentType to be used when creating an AS resource.
|
URI |
getASURI(URI csURI)
Return the Abstract Syntax URI for the given Concrete Syntax URI.
|
CS2AS |
getCS2AS() |
CS2AS |
getCS2AS(EnvironmentFactoryInternal environmentFactory,
ASResource asResource)
Return the CS2AS adapter for this resource.
|
String |
getEditorName()
Return the name of the editor for use in diagnostics.
|
EnvironmentFactory |
getEnvironmentFactory() |
NamedElement |
isPathable(EObject element)
Return a non-null NamedElement if element is able to be accessed by a qualified path; Other elements must use a quoted URI.
|
URI |
resolve(URI uri)
Return a uri against the URI of this CS resource.
|
void |
update(IDiagnosticConsumer diagnosticsConsumer) |
isDerived, setDerived
dispose
getASResource, getASResourceFactory, getParserContext, getProjectManager, setParserContext, setProjectManager, update, updateFrom
void createAndAddDiagnostic(<any> triple)
AS2CS createAS2CS(Map<? extends BaseCSResource,? extends ASResource> cs2asResourceMap, EnvironmentFactoryInternal environmentFactory)
CS2AS createCS2AS(EnvironmentFactoryInternal environmentFactory, ASResource asResource)
CS2AS findCS2AS()
String getASContentType()
URI getASURI(URI csURI)
CS2AS getCS2AS()
CS2AS getCS2AS(EnvironmentFactoryInternal environmentFactory, ASResource asResource)
String getEditorName()
EnvironmentFactory getEnvironmentFactory()
NamedElement isPathable(EObject element)
URI resolve(URI uri)
void update(IDiagnosticConsumer diagnosticsConsumer)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.