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
 ParserContext getParserContext()
           
 org.eclipse.emf.ecore.resource.Resource getPivotResource(MetaModelManager metaModelManager)
           
 void setParserContext(ParserContext parserContext)
           
 void updateFrom(org.eclipse.emf.ecore.resource.Resource pivotResource, 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

getParserContext

@Nullable
ParserContext getParserContext()

getPivotResource

@NonNull
org.eclipse.emf.ecore.resource.Resource getPivotResource(@Nullable
                                                                 MetaModelManager metaModelManager)

setParserContext

void setParserContext(@Nullable
                      ParserContext parserContext)

updateFrom

void updateFrom(@NonNull
                org.eclipse.emf.ecore.resource.Resource pivotResource,
                @NonNull
                MetaModelManager metaModelManager)