Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ice-dev] xtext: java instead of xtend

I found some useful information regarding xtext. By default, xtext will generate xtend stubs for things like label and outline providers. This can be disabled by setting generateXtendStub = false in the workflow file. e.g. to generate a java rather than an xtend version of the outline provider, you’d do something like:

Workflow {
	component = XtextGenerator {
		configuration = {
			...
		}
		language = StandardLanguage {
			...
			outline = {
				generateXtendStub = false
			}
		}
	}
}

Note that not everything can have xtend generation disable apparently. More information here [1] [2].

[1] http://stackoverflow.com/questions/30248300/how-to-use-java-instead-of-xtend
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=405321

Back to the top