|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseCSResource
BaseResource defines the Xtext-dependent extended interface for a Concrete Syntax resource.
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 | |
---|---|
CS2Pivot |
createCS2Pivot(java.util.Map<? extends org.eclipse.emf.ecore.resource.Resource,? extends ASResource> cs2asResourceMap,
MetaModelManager metaModelManager)
Create the CS2AS converter for the cs2asResourceMap conversions using metaModelManager. |
MetaModelManager |
createMetaModelManager()
Return a MetaModelManager for use with this CS resource, unless one can be located via a CS2AS adapter. |
Pivot2CS |
createPivot2CS(java.util.Map<? extends org.eclipse.emf.ecore.resource.Resource,? extends ASResource> cs2asResourceMap,
MetaModelManager metaModelManager)
Create the AS2CS converter for the cs2asResourceMap conversions using metaModelManager. |
CS2PivotResourceAdapter |
findCS2ASAdapter()
Return the CS2AS adapter for this resource, or null if none installed. |
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. |
CS2PivotResourceAdapter |
getCS2ASAdapter(MetaModelManager metaModelManager)
Return the CS2AS adapter for this resource. |
java.lang.String |
getEditorName()
Return the name of the editor for use in diagnostics. |
org.eclipse.emf.common.util.URI |
resolve(org.eclipse.emf.common.util.URI uri)
Return a uri against the URI of this CS resource. |
Methods inherited from interface org.eclipse.ocl.examples.pivot.utilities.BaseResource |
---|
getASResource, getParserContext, setParserContext, updateFrom |
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 |
---|
@NonNull CS2Pivot createCS2Pivot(@NonNull java.util.Map<? extends org.eclipse.emf.ecore.resource.Resource,? extends ASResource> cs2asResourceMap, @NonNull MetaModelManager metaModelManager)
@NonNull Pivot2CS createPivot2CS(@NonNull java.util.Map<? extends org.eclipse.emf.ecore.resource.Resource,? extends ASResource> cs2asResourceMap, @NonNull MetaModelManager metaModelManager)
@NonNull MetaModelManager createMetaModelManager()
@Nullable CS2PivotResourceAdapter findCS2ASAdapter()
@NonNull java.lang.String getASContentType()
@NonNull org.eclipse.emf.common.util.URI getASURI(@NonNull org.eclipse.emf.common.util.URI csURI)
@NonNull CS2PivotResourceAdapter getCS2ASAdapter(@Nullable MetaModelManager metaModelManager)
@NonNull java.lang.String getEditorName()
@NonNull org.eclipse.emf.common.util.URI resolve(@NonNull org.eclipse.emf.common.util.URI uri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |