org.eclipse.xtext.ui.editor.info
Class ResourceWorkingCopyFileEditorInput

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.ui.part.FileEditorInput
          extended by org.eclipse.xtext.ui.editor.info.ResourceWorkingCopyFileEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IFileEditorInput, org.eclipse.ui.IPathEditorInput, org.eclipse.ui.IPersistable, org.eclipse.ui.IPersistableElement, org.eclipse.ui.IStorageEditorInput, org.eclipse.ui.IURIEditorInput

public class ResourceWorkingCopyFileEditorInput
extends org.eclipse.ui.part.FileEditorInput

Author:
Jan Koehnlein

Constructor Summary
ResourceWorkingCopyFileEditorInput(org.eclipse.emf.ecore.resource.Resource resource)
           
 
Method Summary
 java.lang.String getEncoding()
           
 org.eclipse.emf.ecore.resource.Resource getResource()
           
 
Methods inherited from class org.eclipse.ui.part.FileEditorInput
equals, exists, getAdapter, getFactoryId, getFile, getImageDescriptor, getName, getPath, getPersistable, getStorage, getToolTipText, getURI, hashCode, isLocalFile, saveState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceWorkingCopyFileEditorInput

public ResourceWorkingCopyFileEditorInput(org.eclipse.emf.ecore.resource.Resource resource)
                                   throws java.lang.IllegalArgumentException,
                                          java.io.IOException
Throws:
java.lang.IllegalArgumentException
java.io.IOException
Method Detail

getResource

public org.eclipse.emf.ecore.resource.Resource getResource()

getEncoding

public java.lang.String getEncoding()
                             throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException