org.eclipse.xtext.xbase.ui.hover
Class XbaseInformationControl.HoverEditedResourceProvider

java.lang.Object
  extended by org.eclipse.xtext.xbase.ui.hover.XbaseInformationControl.HoverEditedResourceProvider
All Implemented Interfaces:
IEditedResourceProvider
Enclosing class:
XbaseInformationControl

public class XbaseInformationControl.HoverEditedResourceProvider
extends java.lang.Object
implements IEditedResourceProvider

Creates the synthetic resource for the embedded editor Allows to set the ClasspathContext afterwards


Constructor Summary
XbaseInformationControl.HoverEditedResourceProvider()
           
 
Method Summary
 XtextResource createResource()
          Create a new resource.
 void setContext(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XbaseInformationControl.HoverEditedResourceProvider

public XbaseInformationControl.HoverEditedResourceProvider()
Method Detail

createResource

public XtextResource createResource()
Description copied from interface: IEditedResourceProvider
Create a new resource. Implementors are free to decide whether the resource should be empty or whether its pre-populated with content. The resource has to be contained in a fully configured resource set.

Specified by:
createResource in interface IEditedResourceProvider
Returns:
a new resource that is contained in a resource set.

setContext

public void setContext(java.lang.Object object)