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

Change-Id: Ia58567be40edbedbce88c4d749f62bdd7a5004f0
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
This commit is contained in:
Dennis Huebner 2014-12-03 09:39:54 +01:00
parent 65b6a064d5
commit 2b59b6ffb5

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);
}