Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-10-22 09:44:30 +0000
committerEd Willink2016-10-22 13:58:15 +0000
commit4f74b2c49f820156ce60199e5247b6f14043c61c (patch)
tree8af4e98cce73b63292687c049bc50f5af3b04209
parent39df077fc6a82bd052c6a0767a534833d2d78977 (diff)
downloadorg.eclipse.qvtd-4f74b2c49f820156ce60199e5247b6f14043c61c.tar.gz
org.eclipse.qvtd-4f74b2c49f820156ce60199e5247b6f14043c61c.tar.xz
org.eclipse.qvtd-4f74b2c49f820156ce60199e5247b6f14043c61c.zip
[506328] Use correct AS/CS element for markers
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtbase/src/org/eclipse/qvtd/xtext/qvtbase/utilities/QVTbaseCSResource.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtbase/src/org/eclipse/qvtd/xtext/qvtbase/utilities/QVTbaseCSResource.java b/plugins/org.eclipse.qvtd.xtext.qvtbase/src/org/eclipse/qvtd/xtext/qvtbase/utilities/QVTbaseCSResource.java
index dc50eabd9..caaab4299 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtbase/src/org/eclipse/qvtd/xtext/qvtbase/utilities/QVTbaseCSResource.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtbase/src/org/eclipse/qvtd/xtext/qvtbase/utilities/QVTbaseCSResource.java
@@ -26,9 +26,8 @@ public abstract class QVTbaseCSResource extends EssentialOCLCSResource
@Override
public void setURI(URI uri) {
assert uri != null;
- if (PivotUtilInternal.isASURI(uri)) {
+ if (PivotUtilInternal.isASURI(uri)) { // XtextResourceFactory.createResource uses the wrong URI for an AS edit
uri = PivotUtilInternal.trimASExtensionSuffix(uri);
- setDerived(true);
}
super.setURI(uri);
}

Back to the top