Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] getToolTip in a graph?
[Zest] getToolTip in a graph? [message #931665] Wed, 03 October 2012 12:07
Magnus Sjöstrand is currently offline Magnus SjöstrandFriend
Messages: 16
Registered: June 2012
Junior Member
Hi, I was wondering how one may do getToolTip or setTooltip on a node in a graph (not graphview)

What I get from this is:

GraphNode tempGraphNode = new GraphNode(graph, SWT.NONE, nodes.get(index).getName());
String tooltip = tempGraphNode.getTooltip().toString();

java.lang.LinkageError: loader constraint violation: when resolving method "org.eclipse.zest.core.widgets.GraphNode.getTooltip()Lorg/eclipse/draw2d/IFigure;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/modelica/mdt/ui/view/CrossUtil, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/eclipse/zest/core/widgets/GraphNode, have different Class objects for the type org/eclipse/draw2d/IFigure used in the signature

Update: This is fixed. It seemed like a previous version I was running from 2011 (I have no idea why I had this version) had some internal conflicts between the IFigures. An update to the latest version solved it.

[Updated on: Tue, 09 October 2012 16:12]

Report message to a moderator

Previous Topic:GEF with Eclipse RCP 4x
Next Topic:ImageFigure with label
Goto Forum:

Current Time: Mon May 21 11:17:18 GMT 2018

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

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

Back to the top