public interface BaseCSResource extends CSResource
org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedException
OPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS
Modifier and Type | Method and Description |
---|---|
void |
createAndAddDiagnostic(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple)
Add the unresolved reference message for EReference in EObject at INode.
|
AS2CS |
createAS2CS(java.util.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.
|
void |
dispose()
Dispose of this CSResource and its conversion facilities.
|
CS2AS |
findCS2AS()
Return the CS2AS adapter for this resource, or null if none in use.
|
java.lang.String |
getASContentType()
Return the eContentType to be used when creating an AS resource.
|
org.eclipse.emf.common.util.URI |
getASURI(org.eclipse.emf.common.util.URI csURI)
Return the Abstract Syntax URI for the fiven Concrete Syntax URI.
|
CS2AS |
getCS2AS() |
CS2AS |
getCS2AS(EnvironmentFactoryInternal environmentFactory,
ASResource asResource)
Return the CS2AS adapter for this resource.
|
java.lang.String |
getEditorName()
Return the name of the editor for use in diagnostics.
|
EnvironmentFactory |
getEnvironmentFactory() |
NamedElement |
isPathable(org.eclipse.emf.ecore.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.
|
org.eclipse.emf.common.util.URI |
resolve(org.eclipse.emf.common.util.URI uri)
Return a uri against the URI of this CS resource.
|
void |
update(org.eclipse.xtext.diagnostics.IDiagnosticConsumer diagnosticsConsumer) |
getASResource, getASResourceFactory, getParserContext, getProjectManager, setParserContext, setProjectManager, update, updateFrom
delete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
void createAndAddDiagnostic(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple)
@NonNull AS2CS createAS2CS(@NonNull java.util.Map<? extends BaseCSResource,? extends ASResource> cs2asResourceMap, @NonNull EnvironmentFactoryInternal environmentFactory)
@NonNull CS2AS createCS2AS(@NonNull EnvironmentFactoryInternal environmentFactory, @NonNull ASResource asResource)
void dispose()
@Nullable CS2AS findCS2AS()
@NonNull java.lang.String getASContentType()
@NonNull org.eclipse.emf.common.util.URI getASURI(@NonNull org.eclipse.emf.common.util.URI csURI)
@NonNull CS2AS getCS2AS(@NonNull EnvironmentFactoryInternal environmentFactory, @NonNull ASResource asResource)
@NonNull java.lang.String getEditorName()
@NonNull EnvironmentFactory getEnvironmentFactory()
@Nullable NamedElement isPathable(@NonNull org.eclipse.emf.ecore.EObject element)
@NonNull org.eclipse.emf.common.util.URI resolve(@NonNull org.eclipse.emf.common.util.URI uri)
void update(@NonNull org.eclipse.xtext.diagnostics.IDiagnosticConsumer diagnosticsConsumer)