Merge "[xbase][editor] Copy/Paste not only the text but also imports"

This commit is contained in:
Dennis Huebner 2014-12-17 12:18:59 -05:00 committed by Gerrit Code Review @ Eclipse.org
commit 24ff1ee0fb

View file

@ -27,11 +27,20 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(DefaultLocationInFileProvider.class)
public interface ILocationInFileProvider {
/**
* @see org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription#SIGNIFICANT
*/
ITextRegion getSignificantTextRegion(EObject obj);
/**
* @see org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription#SIGNIFICANT
*/
ITextRegion getSignificantTextRegion(EObject owner, EStructuralFeature feature, int indexInList);
/**
* @see org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription#FULL
*/
ITextRegion getFullTextRegion(EObject obj);
/**
* @see org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription#FULL
*/
ITextRegion getFullTextRegion(EObject owner, EStructuralFeature feature, int indexInList);
}