mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
[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:
parent
65b6a064d5
commit
2b59b6ffb5
1 changed files with 12 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue