Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Missing overrides in UIModule in Xtext 2.9
Missing overrides in UIModule in Xtext 2.9 [message #1725377] Thu, 03 March 2016 07:14 Go to next message
Markus Amshove is currently offline Markus AmshoveFriend
Messages: 25
Registered: March 2016
Junior Member
Heyho,

while migrating to Xtext 2.9 I found out that some bindings and interfaces got renamed.

But I can also not find methods to override to bind the following classes:

XtextEditor
XtextDocumentProvider (used to auto format on save)
RenameStrategy (used to rename the file when rename the class)

Did you get rid of those things or are the bound differently?


best regards!
Re: Missing overrides in UIModule in Xtext 2.9 [message #1725379 is a reply to message #1725377] Thu, 03 March 2016 07:22 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14355
Registered: July 2009
Senior Member
hi,

if these methods are there or not should not prevent you from adding bind methods.
(so you can remove the @Override and you are fine)

depending on if you use the old or the new xtext generator there will be different bindings the the generated abstractmodule. (this depends on the used fragments as well)
and the contents of the framework module classes like DefaultUiModule might have changed as well.

but for these 3 bindings simply having the bind methods should be fine


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Missing overrides in UIModule in Xtext 2.9 [message #1725443 is a reply to message #1725379] Thu, 03 March 2016 14:36 Go to previous messageGo to next message
Markus Amshove is currently offline Markus AmshoveFriend
Messages: 25
Registered: March 2016
Junior Member
Ah okay, didn't know how the DI works here.
Thanks!
Re: Missing overrides in UIModule in Xtext 2.9 [message #1725520 is a reply to message #1725443] Fri, 04 March 2016 07:11 Go to previous message
Markus Amshove is currently offline Markus AmshoveFriend
Messages: 25
Registered: March 2016
Junior Member
(I'm reusing this thread for another UI-related topic)

Is it planned to distribute a Gradle plugin for the ui and ui.tests project?

At the moment our Jenkins isn't getting the tests for the ui, since it's not an Gradle project. However if I include it, it hase a lot of dependencies on eclipse, which I could manually type out..

I however understand that the Maven/Tycho build is working, but the strange redirection from eclipse.org repositories to get the jars isn't something our proxy likes Smile

I don't really need to compile eclipse features or plugins with Gradle, just the "[1] Yep, it compiles and [2] Yep, tests are green" in CI.

[Updated on: Fri, 04 March 2016 07:13]

Report message to a moderator

Previous Topic:I was wondering if its possible to make all my emf classes extends MyOwnEObject instead of EOBject
Next Topic:Content assist does not fully work!? on entities example
Goto Forum:
  


Current Time: Thu Oct 06 08:23:33 GMT 2022

Powered by FUDForum. Page generated in 0.01683 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top