blob: 6deab29c653c81090fd09b7ebdabd19e8ac5910d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package rba.tool.editor.resource
import org.eclipse.emf.ecore.EObject
import org.eclipse.emf.ecore.EStructuralFeature
import org.eclipse.xtext.resource.DefaultLocationInFileProvider
import rba.tool.editor.util.RBAModelEditorToolUtil
class RBAModelLocationInFileProvider extends DefaultLocationInFileProvider {
override getFullTextRegion(EObject owner, EStructuralFeature feature, int indexInList) {
if (RBAModelEditorToolUtil.isSkippedSyntax(owner, feature)) {
return null;
}
super.getFullTextRegion(owner, feature, indexInList);
}
}
|