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 onXMIResource
s instead ofXtextResource
s
-
-
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 String
getActualContents()
String
getContents()
org.eclipse.xtext.resource.IResourceDescription
getDescription()
Resource
getResource()
URI
getURI()
-
-
-
Constructor Detail
-
XMIDirtyResource
public XMIDirtyResource(XMIResource resource, org.eclipse.xtext.resource.IResourceServiceProvider resourceServiceProvider)
-
-
Method Detail
-
getContents
public String getContents()
- Specified by:
getContents
in interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getActualContents
public String getActualContents()
- Specified by:
getActualContents
in interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getDescription
public org.eclipse.xtext.resource.IResourceDescription getDescription()
- Specified by:
getDescription
in interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getURI
public URI getURI()
- Specified by:
getURI
in interfaceorg.eclipse.xtext.ui.editor.IDirtyResource
-
getResource
public Resource getResource()
-
-