Skip to main content



      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 02:14 Go to next message
Eclipse UserFriend
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 02:22 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Missing overrides in UIModule in Xtext 2.9 [message #1725443 is a reply to message #1725379] Thu, 03 March 2016 09:36 Go to previous messageGo to next message
Eclipse UserFriend
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 02:11 Go to previous message
Eclipse UserFriend
(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 02:13] by 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: Sun Jul 27 09:42:43 EDT 2025

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

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

Back to the top