|
|
Re: Error deploying Xtext-Web war [message #1743165 is a reply to message #1743164] |
Mon, 12 September 2016 20:15 |
|
ps the complete class could look like
package org.xtext.example.mydsl.web
import com.google.inject.Binder
import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor
import org.eclipse.xtext.formatting2.FormatterPreferenceValuesProvider
import org.eclipse.xtext.formatting2.FormatterPreferences
import org.eclipse.xtext.preferences.IPreferenceValuesProvider
@FinalFieldsConstructor
class MyDslWebModule extends AbstractMyDslWebModule {
def void configureIPreferenceValuesProvider(Binder binder) {
binder.bind(IPreferenceValuesProvider).annotatedWith(FormatterPreferences).to(FormatterPreferenceValuesProvider)
}
}
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.03957 seconds