mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
[eclipse/xtext-eclipse#463] Fixed faulty editor binding
- for xbase languages, the language specific editor is now correctly bound to XtextEditor instead of XbaseEditor Signed-off-by: Florian Stolte <fstolte@itemis.de>
This commit is contained in:
parent
da0388a2a2
commit
9751c004c1
2 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ class XbaseGeneratorFragment2 extends AbstractXtextGeneratorFragment {
|
|||
.addTypeToType('org.eclipse.xtext.xbase.ui.quickfix.JavaTypeQuickfixes'.typeRef,
|
||||
'org.eclipse.xtext.xbase.ui.quickfix.JavaTypeQuickfixesNoImportSection'.typeRef)
|
||||
}
|
||||
bindingFactory.addTypeToType(grammar.eclipsePluginXbaseEditor, grammar.eclipsePluginEditor)
|
||||
bindingFactory.addTypeToType(grammar.eclipsePluginDefaultEditor, grammar.eclipsePluginEditor)
|
||||
|
||||
bindingFactory.contributeTo(language.eclipsePluginGenModule)
|
||||
|
||||
|
|
|
@ -299,7 +299,7 @@ public class XbaseGeneratorFragment2 extends AbstractXtextGeneratorFragment {
|
|||
bindingFactory.addTypeToType(TypeReference.typeRef("org.eclipse.xtext.xbase.ui.quickfix.JavaTypeQuickfixes"),
|
||||
TypeReference.typeRef("org.eclipse.xtext.xbase.ui.quickfix.JavaTypeQuickfixesNoImportSection"));
|
||||
}
|
||||
bindingFactory.addTypeToType(this._xtextGeneratorNaming.getEclipsePluginXbaseEditor(this.getGrammar()), this._xtextGeneratorNaming.getEclipsePluginEditor(this.getGrammar()));
|
||||
bindingFactory.addTypeToType(this._xtextGeneratorNaming.getEclipsePluginDefaultEditor(this.getGrammar()), this._xtextGeneratorNaming.getEclipsePluginEditor(this.getGrammar()));
|
||||
bindingFactory.contributeTo(this.getLanguage().getEclipsePluginGenModule());
|
||||
boolean _inheritsXbaseWithAnnotations = this._xbaseUsageDetector.inheritsXbaseWithAnnotations(this.getLanguage().getGrammar());
|
||||
if (_inheritsXbaseWithAnnotations) {
|
||||
|
|
Loading…
Reference in a new issue