org.eclipse.ocl.examples.pivot.utilities
Interface BaseResource

All Superinterfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.Resource
All Known Subinterfaces:
BaseCSResource
All Known Implementing Classes:
CompleteOCLCSResource, EmbeddedXtextResource, EssentialOCLCSResource, OCLinEcoreCSResource, OCLstdlibCSResource

public interface BaseResource
extends org.eclipse.emf.ecore.resource.Resource

BaseResource defines the Xtext-independent extended interface for a Concrete Syntax resource for which a ParserContext defines how the Abstract Syntax elements should be initialized.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource
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
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
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
 
Method Summary
 ASResource getASResource(MetaModelManager metaModelManager)
          Return the Abstract Syntax representation of thjis Concrete Syntax resource under the supervision of metaModelManager.
 ParserContext getParserContext()
           
 void setParserContext(ParserContext parserContext)
           
 void updateFrom(ASResource asResource, MetaModelManager metaModelManager)
           
 
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource
delete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getASResource

@NonNull
ASResource getASResource(@Nullable
                                 MetaModelManager metaModelManager)
Return the Abstract Syntax representation of thjis Concrete Syntax resource under the supervision of metaModelManager.


getParserContext

@Nullable
ParserContext getParserContext()

setParserContext

void setParserContext(@Nullable
                      ParserContext parserContext)

updateFrom

void updateFrom(@NonNull
                ASResource asResource,
                @NonNull
                MetaModelManager metaModelManager)