Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2015-12-11 04:50:57 -0500
committerTom Schindl2015-12-11 04:50:57 -0500
commite6629ef90a0cf34294c0b774e52f253c61cdc5ce (patch)
tree2e5d0be8f456082d923900b6bb572f24e646e41e
parent52f59743825f8d0c5d7a9b54f22bd0bcdc3d0463 (diff)
downloadorg.eclipse.efxclipse-e6629ef90a0cf34294c0b774e52f253c61cdc5ce.tar.gz
org.eclipse.efxclipse-e6629ef90a0cf34294c0b774e52f253c61cdc5ce.tar.xz
org.eclipse.efxclipse-e6629ef90a0cf34294c0b774e52f253c61cdc5ce.zip
fix generated DS-integration code2.2.0
-rw-r--r--bundles/code/org.eclipse.fx.code.editor.ldef/src/org/eclipse/fx/code/editor/ldef/generator/JavaFXCodeGenerator.xtend6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/code/org.eclipse.fx.code.editor.ldef/src/org/eclipse/fx/code/editor/ldef/generator/JavaFXCodeGenerator.xtend b/bundles/code/org.eclipse.fx.code.editor.ldef/src/org/eclipse/fx/code/editor/ldef/generator/JavaFXCodeGenerator.xtend
index 770e22b3a..ef8c50ee3 100644
--- a/bundles/code/org.eclipse.fx.code.editor.ldef/src/org/eclipse/fx/code/editor/ldef/generator/JavaFXCodeGenerator.xtend
+++ b/bundles/code/org.eclipse.fx.code.editor.ldef/src/org/eclipse/fx/code/editor/ldef/generator/JavaFXCodeGenerator.xtend
@@ -73,7 +73,7 @@ class JavaFXCodeGenerator {
}
public boolean test(org.eclipse.fx.code.editor.Input<?> t) {
- return (t instanceof org.eclipse.fx.code.editor.services.URIProvider) && ((org.eclipse.fx.code.editor.services.URIProvider)t).getURI().lastSegment().endsWith(".«model.name»");
+ return (t instanceof org.eclipse.fx.code.editor.services.URIProvider) && ((org.eclipse.fx.code.editor.services.URIProvider)t).getURI().toString().endsWith(".«model.name»");
}
}
'''
@@ -85,13 +85,13 @@ class JavaFXCodeGenerator {
public class «model.name.toFirstUpper»PresentationReconcilerTypeProvider implements org.eclipse.fx.code.editor.fx.services.PresentationReconcilerTypeProvider {
@Override
- public Class<? extends org.eclipse.jface.text.presentation.PresentationReconciler> getType(org.eclipse.fx.code.editor.Input<?> s) {
+ public Class<? extends org.eclipse.fx.text.ui.presentation.PresentationReconciler> getType(org.eclipse.fx.code.editor.Input<?> s) {
return «javaBasePackage».«model.name.toFirstUpper»PresentationReconciler.class;
}
@Override
public boolean test(org.eclipse.fx.code.editor.Input<?> t) {
- return (t instanceof org.eclipse.fx.code.editor.services.URIProvider) && ((org.eclipse.fx.code.editor.services.URIProvider)t).getURI().lastSegment().endsWith(".dart");
+ return (t instanceof org.eclipse.fx.code.editor.services.URIProvider) && ((org.eclipse.fx.code.editor.services.URIProvider)t).getURI().toString().endsWith(".dart");
}
}
'''

Back to the top