Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Warnings about
Warnings about [message #1731749] Mon, 09 May 2016 18:59 Go to next message
Colin Sharples is currently offline Colin SharplesFriend
Messages: 96
Registered: July 2009
Location: Wellington, New Zealand
Member

I am using the GEF4 integration site to get my target definition, and update it regularly to pick up changes. At some point in the last few weeks, I started getting these warning messages:

*** WARNING: The actual type of adapter org.eclipse.gef4.mvc.fx.parts.FXRootPart@3cb68736 could not be inferred from the binding at org.eclipse.gef4.mvc.fx.MvcFxModule.bindFXRootPartAsContentViewerAdapter(MvcFxModule.java:654). The adapter will only be retrievable via key types assignable to org.eclipse.gef4.mvc.fx.parts.FXRootPart, which is the actual type inferred from the instance.
             You should probably adjust your binding to provide a type key using AdapterKey.get(<type>).
*** WARNING: The actual type of adapter org.eclipse.gef4.mvc.models.FocusModel@3267173d could not be inferred from the binding at org.eclipse.gef4.mvc.fx.MvcFxModule.bindFocusModelAsContentViewerAdapter(MvcFxModule.java:339). Therefore, the given type key org.eclipse.gef4.mvc.models.FocusModel<javafx.scene.Node> can not be confirmed.
             Make sure the provided type key org.eclipse.gef4.mvc.models.FocusModel<javafx.scene.Node> matches to the actual type of the adapter.
*** WARNING: The actual type of adapter org.eclipse.gef4.mvc.models.HoverModel@2b393e89 could not be inferred from the binding at org.eclipse.gef4.mvc.fx.MvcFxModule.bindHoverModelAsContentViewerAdapter(MvcFxModule.java:884). Therefore, the given type key org.eclipse.gef4.mvc.models.HoverModel<javafx.scene.Node> can not be confirmed.
             Make sure the provided type key org.eclipse.gef4.mvc.models.HoverModel<javafx.scene.Node> matches to the actual type of the adapter.
*** WARNING: The actual type of adapter org.eclipse.gef4.mvc.models.SelectionModel@11f470a7 could not be inferred from the binding at org.eclipse.gef4.mvc.fx.MvcFxModule.bindSelectionModelAsContentViewerAdapter(MvcFxModule.java:1005). Therefore, the given type key org.eclipse.gef4.mvc.models.SelectionModel<javafx.scene.Node> can not be confirmed.
             Make sure the provided type key org.eclipse.gef4.mvc.models.SelectionModel<javafx.scene.Node> matches to the actual type of the adapter.


This is in a viewer part, which doesn't need any specific behaviour, so it is just using the standard MvxFxModule for the bindings. All of the bindings being warned about are from that module. Is this something to be concerned about?


Colin Sharples
CTG Games Ltd
Wellington, New Zealand
Re: Warnings about [message #1731798 is a reply to message #1731749] Tue, 10 May 2016 09:07 Go to previous message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 244
Registered: July 2009
Location: Lünen
Senior Member
Hi Colin,

these warnings indicate that the type key that is specified in the adapter map bindings of the respective adapters cannot be confirmed because the adapter type could not be inferred from the binding. I have added respective warnings when enabling role-based adapter injection (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=481677). As long as the type key matches the actual type of the adapter (as is the case here), these warnings may simple be ignored.

Regards
Alexander
Previous Topic:Asynchronous updates of Edges
Next Topic:[Zest] How to change color and labeltext of an edge(connection)?
Goto Forum:
  


Current Time: Thu Apr 25 07:16:35 GMT 2024

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

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

Back to the top