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 on XMIResources instead of XtextResources
  • Constructor Details

    • XMIDirtyResource

      public XMIDirtyResource(XMIResource resource, org.eclipse.xtext.resource.IResourceServiceProvider resourceServiceProvider)
  • Method Details

    • getContents

      public String getContents()
      Specified by:
      getContents in interface org.eclipse.xtext.ui.editor.IDirtyResource
    • getActualContents

      public String getActualContents()
      Specified by:
      getActualContents in interface org.eclipse.xtext.ui.editor.IDirtyResource
    • getDescription

      public org.eclipse.xtext.resource.IResourceDescription getDescription()
      Specified by:
      getDescription in interface org.eclipse.xtext.ui.editor.IDirtyResource
    • getURI

      public URI getURI()
      Specified by:
      getURI in interface org.eclipse.xtext.ui.editor.IDirtyResource
    • getResource

      public Resource getResource()