Class XMIDirtyResource
- java.lang.Object
-
- org.yakindu.base.xtext.utils.gmf.resource.XMIDirtyResource
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.IDirtyResource
public class XMIDirtyResource extends Object implements org.eclipse.xtext.ui.editor.IDirtyResource
This class is initially copied from org.eclipse.xtext.gmf.glue.concurrency.SimpleDirtyResource and adopted to work onXMIResources instead ofXtextResources
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.IDirtyResource
org.eclipse.xtext.ui.editor.IDirtyResource.ICurrentStateProvidingExtension, org.eclipse.xtext.ui.editor.IDirtyResource.InitializationAware, org.eclipse.xtext.ui.editor.IDirtyResource.NormalizedURISupportExtension
-
-
Constructor Summary
Constructors Constructor Description XMIDirtyResource(XMIResource resource, org.eclipse.xtext.resource.IResourceServiceProvider resourceServiceProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActualContents()StringgetContents()org.eclipse.xtext.resource.IResourceDescriptiongetDescription()ResourcegetResource()URIgetURI()
-
-
-
Constructor Detail
-
XMIDirtyResource
public XMIDirtyResource(XMIResource resource, org.eclipse.xtext.resource.IResourceServiceProvider resourceServiceProvider)
-
-
Method Detail
-
getContents
public String getContents()
- Specified by:
getContentsin interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getActualContents
public String getActualContents()
- Specified by:
getActualContentsin interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getDescription
public org.eclipse.xtext.resource.IResourceDescription getDescription()
- Specified by:
getDescriptionin interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getURI
public URI getURI()
- Specified by:
getURIin interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getResource
public Resource getResource()
-
-