org.eclipse.etrice.ui.common.concurrency
Class SimpleDirtyResource

java.lang.Object
  extended by org.eclipse.etrice.ui.common.concurrency.SimpleDirtyResource

public class SimpleDirtyResource
extends java.lang.Object

An implementation of IDirtyResource for resources without an underlying document.

Author:
Jan Koehnlein - Initial contribution and API, Henrik Rentz-Reichert

Constructor Summary
SimpleDirtyResource(XtextResource resource, IResourceServiceProvider resourceServiceProvider)
           
 
Method Summary
 java.lang.String getActualContents()
           
 java.lang.String getContents()
           
 IResourceDescription getDescription()
           
 Resource getResource()
           
 URI getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDirtyResource

public SimpleDirtyResource(XtextResource resource,
                           IResourceServiceProvider resourceServiceProvider)
Method Detail

getContents

public java.lang.String getContents()

getDescription

public IResourceDescription getDescription()

getURI

public URI getURI()

getResource

public Resource getResource()

getActualContents

public java.lang.String getActualContents()